Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 97.11 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3071/0.3071, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.0951, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001619/0.09676, allocations: 1.361 MB / 492.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.09768, allocations: 0.7317 MB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.09775, allocations: 4 kB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.098, allocations: 71.83 kB / 493.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.09817, allocations: 63.8 kB / 493.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.09836, allocations: 67.84 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.09849, allocations: 83.69 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.09854, allocations: 11.98 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.09862, allocations: 51.77 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.09872, allocations: 47.81 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.09874, allocations: 0 / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.067e-05/0.0988, allocations: 24 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.09885, allocations: 19.92 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.09891, allocations: 53.5 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.09903, allocations: 88.03 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.09904, allocations: 0 / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.456e-06/0.09906, allocations: 4 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.09906, allocations: 3.938 kB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004007/0.09947, allocations: 391.1 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.09951, allocations: 8.031 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.09956, allocations: 34.75 kB / 494 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.09959, allocations: 16.75 kB / 494 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.09978, allocations: 204.1 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.0998, allocations: 4.375 kB / 494.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.09982, allocations: 3.938 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.09994, allocations: 53.67 kB / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.09995, allocations: 3.938 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.09996, allocations: 4 kB / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.09997, allocations: 0 / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.1, allocations: 15.98 kB / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1002, allocations: 177.7 kB / 494.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1004, allocations: 58.48 kB / 494.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.1004, allocations: 24.8 kB / 494.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1004, allocations: 4 kB / 494.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.1006, allocations: 67.33 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1006, allocations: 0 / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002333/0.1008, allocations: 101.5 kB / 494.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1009, allocations: 55.41 kB / 494.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.101, allocations: 214.4 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1011, allocations: 25.7 kB / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.1011, allocations: 104.1 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1012, allocations: 7.906 kB / 495.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1012, allocations: 4 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.1013, allocations: 322.8 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.1013, allocations: 19.92 kB / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.1014, allocations: 25.7 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.1015, allocations: 41.72 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1015, allocations: 3.938 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001385/0.1016, allocations: 89.42 kB / 495.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1016, allocations: 7.281 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1016, allocations: 3.984 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1017, allocations: 4 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.1017, allocations: 12 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1017, allocations: 4.031 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1018, allocations: 7.938 kB / 495.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1018, allocations: 3.984 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.1019, allocations: 129.6 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1019, allocations: 11.84 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.102, allocations: 20.98 kB / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.102, allocations: 0 / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.102, allocations: 0 / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.102, allocations: 0 / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1021, allocations: 197.5 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1021, allocations: 0 / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.1021, allocations: 4 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1021, allocations: 0 / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1021, allocations: 4 kB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1022, allocations: 3.938 kB / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1022, allocations: 0 / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1023, allocations: 109.3 kB / 496.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.1024, allocations: 97.02 kB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1024, allocations: 3.984 kB / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.1024, allocations: 4 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1025, allocations: 0 / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1025, allocations: 11.88 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1026, allocations: 160.2 kB / 496.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1026, allocations: 0 / 496.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000184/0.1028, allocations: 20 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.1039, allocations: 0.9474 MB / 497.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.104, allocations: 43.92 kB / 497.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.104, allocations: 0 / 497.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.1041, allocations: 19.98 kB / 497.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1043, allocations: 27.98 kB / 497.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.1052, allocations: 0.7393 MB / 498.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1055, allocations: 0.7004 MB / 498.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.1055, allocations: 35.42 kB / 499 MB, free: 2.328 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1055, allocations: 0 / 499 MB, free: 2.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.733/2.838, allocations: 2.102 MB / 0.4893 GB, free: 228 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches