Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008901, allocations: 90.58 kB / 261.7 MB, free: 1.688 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.2245/0.2245, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.911e-05, allocations: 12 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6113, allocations: 86.93 MB / 0.5508 GB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6116, allocations: 73.38 kB / 0.5509 GB, free: 8.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.625, allocations: 5.195 MB / 0.556 GB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6251, allocations: 0 / 0.556 GB, free: 3.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.6251, allocations: 4 kB / 0.556 GB, free: 3.953 MB / 362.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.0004298/0.6256, allocations: 389.4 kB / 0.5563 GB, free: 3.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6256, allocations: 16.02 kB / 0.5564 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.6257, allocations: 7.906 kB / 0.5564 GB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.6259, allocations: 205.5 kB / 0.5566 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.626, allocations: 7.938 kB / 0.5566 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.626, allocations: 11.89 kB / 0.5566 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.554e-05/0.6261, allocations: 19.44 kB / 0.5566 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.6262, allocations: 49.11 kB / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6263, allocations: 0 / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6263, allocations: 3.312 kB / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6263, allocations: 0 / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.6267, allocations: 267.3 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.6268, allocations: 56.69 kB / 0.557 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.6269, allocations: 16.55 kB / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6269, allocations: 0 / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.627, allocations: 66.58 kB / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.627, allocations: 3.938 kB / 0.557 GB, free: 2.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004521/0.6275, allocations: 149.2 kB / 0.5572 GB, free: 2.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.6275, allocations: 55.41 kB / 0.5572 GB, free: 2.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.6277, allocations: 158.7 kB / 0.5574 GB, free: 2.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.6277, allocations: 29.64 kB / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.6277, allocations: 98.75 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.6278, allocations: 26.77 kB / 0.5575 GB, free: 2.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.6278, allocations: 0 / 0.5575 GB, free: 2.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.6279, allocations: 321.8 kB / 0.5578 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.6279, allocations: 22.92 kB / 0.5579 GB, free: 1.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.6279, allocations: 32.66 kB / 0.5579 GB, free: 1.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.628, allocations: 18.98 kB / 0.5579 GB, free: 1.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.628, allocations: 4 kB / 0.5579 GB, free: 1.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001169/0.6281, allocations: 87.97 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6281, allocations: 4 kB / 0.558 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6281, allocations: 4 kB / 0.558 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.6282, allocations: 0 / 0.558 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.6283, allocations: 15.98 kB / 0.558 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6283, allocations: 4.031 kB / 0.558 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.6283, allocations: 7.938 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.6283, allocations: 7.953 kB / 0.558 GB, free: 1.793 MB / 362.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 () * 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 5.825e-05/0.6284, allocations: 101 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.6284, allocations: 11.91 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.6286, allocations: 115.1 kB / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6286, allocations: 0 / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6286, allocations: 0 / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6287, allocations: 0 / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.629, allocations: 377.2 kB / 0.5586 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.629, allocations: 0 / 0.5586 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.629, allocations: 11.98 kB / 0.5586 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.629, allocations: 4 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.629, allocations: 3.375 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6291, allocations: 0 / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6291, allocations: 4 kB / 0.5586 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.6292, allocations: 219.5 kB / 0.5589 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.6293, allocations: 92.91 kB / 0.5589 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.6293, allocations: 3.938 kB / 0.559 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.6294, allocations: 7.625 kB / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.6294, allocations: 11.94 kB / 0.559 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.6294, allocations: 0 / 0.559 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.6295, allocations: 136.4 kB / 0.5591 GB, free: 0.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6295, allocations: 0 / 0.5591 GB, free: 0.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.6298, allocations: 23.94 kB / 0.5591 GB, free: 0.6836 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009448/0.6307, allocations: 400.4 kB / 0.5595 GB, free: 364 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.6309, allocations: 54.05 kB / 0.5596 GB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6309, allocations: 0 / 0.5596 GB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.631, allocations: 27.19 kB / 0.5596 GB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.6313, allocations: 23.67 kB / 0.5596 GB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.6317, allocations: 158.9 kB / 0.5598 GB, free: 108 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6321, allocations: 0.7002 MB / 0.5604 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.6321, allocations: 16.55 kB / 0.5605 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.6322, allocations: 15.44 kB / 0.5605 GB, free: 15.35 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6322, allocations: 0 / 0.5605 GB, free: 15.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004353/0.6365, allocations: 1.6 MB / 0.562 GB, free: 13.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches