Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 181.1 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007918, allocations: 101.5 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2891/0.2891, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 23.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 61.88 MB / 0.5107 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4114, allocations: 90.23 MB / 0.5989 GB, free: 4.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4117, allocations: 79.95 kB / 0.5989 GB, free: 4.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4228, allocations: 4.373 MB / 0.6032 GB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4228, allocations: 0 / 0.6032 GB, free: 404 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4228, allocations: 7.938 kB / 0.6032 GB, free: 396 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005442/0.4234, allocations: 476.7 kB / 0.6037 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4234, allocations: 8.031 kB / 0.6037 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.4235, allocations: 16.75 kB / 0.6037 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.4238, allocations: 250.2 kB / 0.6039 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4238, allocations: 4.375 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4238, allocations: 8.375 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.4241, allocations: 108.8 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4241, allocations: 192 / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4241, allocations: 7.938 kB / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4241, allocations: 4 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.4243, allocations: 55.91 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.4249, allocations: 0.5164 MB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4252, allocations: 94.66 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.4253, allocations: 36.84 kB / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4253, allocations: 0 / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4255, allocations: 103.2 kB / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4255, allocations: 0 / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003689/0.4259, allocations: 153.4 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4259, allocations: 51.41 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4261, allocations: 199.3 kB / 0.6052 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4261, allocations: 25.7 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.4262, allocations: 120 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4262, allocations: 31.64 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4262, allocations: 0 / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4264, allocations: 330.8 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.4265, allocations: 31.97 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.4266, allocations: 68.27 kB / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.4268, allocations: 100.2 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4268, allocations: 4 kB / 0.6059 GB, free: 13.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000254/0.427, allocations: 141.3 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4271, allocations: 8 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4271, allocations: 3.984 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4271, allocations: 4 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.4272, allocations: 16.12 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4272, allocations: 11.98 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.4273, allocations: 8.375 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4273, allocations: 15.88 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.579e-05/0.4274, allocations: 129.8 kB / 0.6062 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.4274, allocations: 7.906 kB / 0.6062 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.4277, allocations: 142.9 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4277, allocations: 4 kB / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4277, allocations: 0 / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4277, allocations: 0 / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.4279, allocations: 217.4 kB / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4279, allocations: 0 / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.428, allocations: 12 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.428, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.428, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.428, allocations: 0 / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4281, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.4284, allocations: 204.7 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.4285, allocations: 89.03 kB / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4285, allocations: 7.938 kB / 0.6069 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.4286, allocations: 20.03 kB / 0.6069 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.4286, allocations: 4 kB / 0.6069 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4286, allocations: 4 kB / 0.6069 GB, free: 12.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4288, allocations: 145.1 kB / 0.6071 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4288, allocations: 0 / 0.6071 GB, free: 12.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.429, allocations: 43.95 kB / 0.6071 GB, free: 12.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008294/0.4298, allocations: 416.8 kB / 0.6075 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.4301, allocations: 99.83 kB / 0.6076 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4301, allocations: 0 / 0.6076 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.4302, allocations: 35.98 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4305, allocations: 35.91 kB / 0.6077 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.431, allocations: 302.2 kB / 0.6079 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4312, allocations: 0.7129 MB / 0.6086 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.4313, allocations: 21.06 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4313, allocations: 15.44 kB / 0.6087 GB, free: 10.51 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4313, allocations: 0 / 0.6087 GB, free: 10.51 MB / 426.7 MB Notification: Performance of Templates: time 0.004029/0.4354, allocations: 1.815 MB / 0.6105 GB, free: 8.715 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches