Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",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.0009479/0.0009477, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.211/1.211, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007174/0.0007174, allocations: 89.41 kB / 271.2 MB, free: 8.238 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.2846/0.2846, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 16 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08724, allocations: 58.86 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001644/0.08891, allocations: 1.398 MB / 492.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.08987, allocations: 0.7422 MB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.08993, allocations: 4 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.09016, allocations: 39.88 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.0903, allocations: 39.83 kB / 493.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.09051, allocations: 75.84 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.09065, allocations: 79.7 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.09073, allocations: 20.2 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.0908, allocations: 35.8 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.09087, allocations: 31.84 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.09089, allocations: 4 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.09097, allocations: 35.98 kB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.09101, allocations: 19.84 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.09108, allocations: 65.44 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.0912, allocations: 80.11 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09121, allocations: 0 / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09122, allocations: 4 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.09123, allocations: 0 / 493.6 MB, free: 8.086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004131/0.09165, allocations: 399.1 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.09169, allocations: 8.031 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.09173, allocations: 38.73 kB / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.09176, allocations: 12.84 kB / 494 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.09195, allocations: 208.6 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.09197, allocations: 12.38 kB / 494.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.09199, allocations: 7.875 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.09213, allocations: 57.67 kB / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.09215, allocations: 0 / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.09217, allocations: 7.984 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.09218, allocations: 0 / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.09224, allocations: 15.98 kB / 494.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.09255, allocations: 284.9 kB / 494.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.0927, allocations: 66.61 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.09276, allocations: 16.86 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.09279, allocations: 0 / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.09294, allocations: 63.39 kB / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.09295, allocations: 0 / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004669/0.09342, allocations: 185.1 kB / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.09346, allocations: 55.41 kB / 495 MB, free: 6.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.09362, allocations: 200.7 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.09365, allocations: 25.7 kB / 495.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.0937, allocations: 104.1 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.09373, allocations: 23.7 kB / 495.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.09374, allocations: 4 kB / 495.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.09384, allocations: 318.8 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.09389, allocations: 27.94 kB / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.09396, allocations: 33.7 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.09406, allocations: 61.7 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.09407, allocations: 0 / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.09424, allocations: 105.4 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.09426, allocations: 4 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.09427, allocations: 4.031 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.09428, allocations: 4 kB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.09436, allocations: 12 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.09437, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.09442, allocations: 11.92 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.09444, allocations: 11.94 kB / 495.9 MB, free: 5.508 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 (10): * Single equations (assignments): 10 * 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.164e-05/0.09452, allocations: 117.8 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.09455, allocations: 11.91 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.09459, allocations: 17.39 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0946, allocations: 4 kB / 496.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.0946, allocations: 3.938 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.09461, allocations: 3.938 kB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.09498, allocations: 395.7 kB / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.095, allocations: 0 / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.09504, allocations: 15.98 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.09504, allocations: 3.938 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.09506, allocations: 8 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.09507, allocations: 4.031 kB / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09507, allocations: 80 / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.09527, allocations: 204.2 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.09533, allocations: 96.91 kB / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.09535, allocations: 7.938 kB / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.09543, allocations: 192 / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.09546, allocations: 15.98 kB / 496.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.09548, allocations: 7.938 kB / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.09559, allocations: 148.9 kB / 497 MB, free: 4.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0956, allocations: 0 / 497 MB, free: 4.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.09583, allocations: 28 kB / 497 MB, free: 4.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001163/0.09699, allocations: 1.098 MB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.09715, allocations: 55.91 kB / 498.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09716, allocations: 4.062 kB / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.09723, allocations: 27.98 kB / 498.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.09752, allocations: 23.92 kB / 498.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.09852, allocations: 0.7637 MB / 499 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.09876, allocations: 0.7043 MB / 499.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.09882, allocations: 39.42 kB / 499.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09883, allocations: 3.938 kB / 499.7 MB, free: 1.539 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.858/2.956, allocations: 2.268 MB / 0.4902 GB, free: 42.33 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches