Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 100.3 kB / 16.27 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 186 kB / 17.19 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2001/0.2001, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 68.61 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07881/0.08031, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002519/0.08287, allocations: 1.648 MB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.08384, allocations: 0.7788 MB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.08394, allocations: 4 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.08422, allocations: 67.73 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.08441, allocations: 63.75 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.08471, allocations: 83.75 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.08486, allocations: 95.7 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.08491, allocations: 8.266 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.08499, allocations: 43.84 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.08507, allocations: 47.72 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.0851, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.08518, allocations: 31.97 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.08523, allocations: 19.92 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.08528, allocations: 27.81 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.08542, allocations: 99.64 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.08543, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08544, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.08545, allocations: 4 kB / 443.6 MB, free: 3.754 MB / 318.1 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.0003775/0.08583, allocations: 402.9 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.08587, allocations: 15.89 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/0.0859, allocations: 38.75 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.08594, allocations: 8.844 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.08609, allocations: 209 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.08611, allocations: 384 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.08613, allocations: 3.938 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.08625, allocations: 53.67 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.08627, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.08628, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.08629, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.08636, allocations: 23.92 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.0865, allocations: 177.7 kB / 444.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.08665, allocations: 58.55 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.08671, allocations: 28.72 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.08673, allocations: 4 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.0869, allocations: 67.39 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/0.08691, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002328/0.08715, allocations: 93.42 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.08718, allocations: 59.41 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.08729, allocations: 186.1 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.08731, allocations: 25.7 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.08734, allocations: 104.1 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.08737, allocations: 11.91 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.08741, allocations: 17.72 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.08745, allocations: 322.8 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.0875, allocations: 15.98 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.08755, allocations: 29.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.08764, allocations: 45.66 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.08765, allocations: 7.938 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.08779, allocations: 85.42 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.08781, allocations: 8 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.08782, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.08783, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.0879, allocations: 8 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.08792, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.08796, allocations: 7.938 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.08798, allocations: 7.984 kB / 445.7 MB, free: 1.426 MB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.08804, allocations: 133.3 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.08807, allocations: 11.91 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.0881, allocations: 12.3 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.08811, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.08812, allocations: 320 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.08812, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.995e-05/0.08821, allocations: 189.6 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.08822, allocations: 0 / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.08824, allocations: 7.938 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.08825, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.08826, allocations: 7.984 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.08827, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.08827, allocations: 3.938 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.08842, allocations: 112.9 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.08845, allocations: 81.02 kB / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.08847, allocations: 4 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.08851, allocations: 0 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.08855, allocations: 15.98 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.08856, allocations: 3.938 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.428e-05/0.08864, allocations: 135.2 kB / 446.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.08865, allocations: 4 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.08886, allocations: 19.98 kB / 446.5 MB, free: 0.6016 MB / 318.1 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 (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.001072/0.08994, allocations: 0.9541 MB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.0901, allocations: 39.86 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.09011, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.0902, allocations: 20 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.09049, allocations: 37.47 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.09188, allocations: 1.473 MB / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.0921, allocations: 0.6963 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.09216, allocations: 20.39 kB / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.09222, allocations: 31.42 kB / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09223, allocations: 4 kB / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9903/1.083, allocations: 2.982 MB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.58, allocations: 12.05 kB / 452.7 MB, free: 10.25 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches