Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 211.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.95 MB / 360.8 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2926, allocations: 66.09 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003084/0.2957, allocations: 1.607 MB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2968, allocations: 0.5188 MB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.2969, allocations: 4 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2972, allocations: 91.73 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.2975, allocations: 119.5 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.2978, allocations: 95.69 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.298, allocations: 83.77 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2981, allocations: 17.8 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.2981, allocations: 39.84 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2982, allocations: 55.81 kB / 0.5633 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2983, allocations: 0 / 0.5633 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.2984, allocations: 47.98 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.2984, allocations: 23.92 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.2984, allocations: 27.78 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2986, allocations: 119.4 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2986, allocations: 0 / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2987, allocations: 0 / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2987, allocations: 0 / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004827/0.2991, allocations: 345.6 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2992, allocations: 11.97 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.2992, allocations: 34.75 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2992, allocations: 16.84 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.2994, allocations: 146.3 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2994, allocations: 384 / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.2995, allocations: 16.25 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2996, allocations: 54.23 kB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2996, allocations: 3.938 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2996, allocations: 4 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2996, allocations: 4 kB / 0.5641 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.2997, allocations: 19.98 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.3001, allocations: 263.9 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3002, allocations: 50.48 kB / 0.5644 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.3002, allocations: 16.86 kB / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3003, allocations: 0 / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3003, allocations: 34.56 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3003, allocations: 0 / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008588/0.3011, allocations: 233.4 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3012, allocations: 51.41 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.3014, allocations: 230.8 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3014, allocations: 29.7 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.3015, allocations: 116 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3015, allocations: 23.81 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3016, allocations: 21.7 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3017, allocations: 334.8 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.3018, allocations: 19.98 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.3019, allocations: 31.98 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.302, allocations: 60.77 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.302, allocations: 0 / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000203/0.3022, allocations: 105.6 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3022, allocations: 8 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3022, allocations: 3.938 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3023, allocations: 0 / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3024, allocations: 23.92 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3024, allocations: 0 / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.3024, allocations: 7.938 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3024, allocations: 7.938 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3025, allocations: 129.8 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3026, allocations: 7.953 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3028, allocations: 131.2 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3028, allocations: 0 / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3028, allocations: 0 / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3028, allocations: 4 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.3034, allocations: 374.3 kB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3034, allocations: 0 / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.3034, allocations: 20.41 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3034, allocations: 4 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3034, allocations: 3.938 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3034, allocations: 4 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3034, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3037, allocations: 212.2 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.3037, allocations: 11.94 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3037, allocations: 3.938 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.3038, allocations: 8 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.3039, allocations: 7.984 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3039, allocations: 0 / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.304, allocations: 176.3 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3043, allocations: 23.95 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002216/0.3065, allocations: 1.115 MB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3067, allocations: 71.94 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3067, allocations: 0 / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.3068, allocations: 31.92 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3072, allocations: 23.73 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3092, allocations: 1.708 MB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.3093, allocations: 100.5 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.3093, allocations: 12.66 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.3094, allocations: 35.42 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3094, allocations: 0 / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.3376, allocations: 3.761 MB / 0.5735 GB, free: 6.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.05, allocations: 11.31 kB / 0.5735 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.865198486018926]