Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 181.7 kB / 17.41 MB, free: 4.289 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.537/1.537, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007696/0.0007695, allocations: 81.95 kB / 271.9 MB, free: 8.25 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.3196/0.3196, allocations: 43.55 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 24 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.405, allocations: 87.6 MB / 0.5655 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4053, allocations: 71.97 kB / 0.5655 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.4192, allocations: 5.242 MB / 0.5707 GB, free: 9.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4192, allocations: 4 kB / 0.5707 GB, free: 9.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4192, allocations: 0.7656 kB / 0.5707 GB, free: 9.523 MB / 394.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.0004484/0.4197, allocations: 412 kB / 0.5711 GB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4197, allocations: 8.031 kB / 0.5711 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.4198, allocations: 16.84 kB / 0.5711 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.42, allocations: 222 kB / 0.5713 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4201, allocations: 8.375 kB / 0.5713 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4201, allocations: 384 / 0.5713 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.4202, allocations: 46.23 kB / 0.5714 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4202, allocations: 4.188 kB / 0.5714 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4202, allocations: 3.938 kB / 0.5714 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.4202, allocations: 0 / 0.5714 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.4203, allocations: 15.98 kB / 0.5714 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.4205, allocations: 185.6 kB / 0.5716 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4207, allocations: 66.53 kB / 0.5716 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.4208, allocations: 16.86 kB / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4208, allocations: 0 / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.4209, allocations: 68.25 kB / 0.5717 GB, free: 8.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.4209, allocations: 4 kB / 0.5717 GB, free: 8.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002661/0.4212, allocations: 105.6 kB / 0.5718 GB, free: 8.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4212, allocations: 55.41 kB / 0.5719 GB, free: 8.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4214, allocations: 178.2 kB / 0.572 GB, free: 7.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4214, allocations: 29.7 kB / 0.5721 GB, free: 7.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.4215, allocations: 100.1 kB / 0.5721 GB, free: 7.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4215, allocations: 15.75 kB / 0.5722 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4215, allocations: 4 kB / 0.5722 GB, free: 7.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.4216, allocations: 322.8 kB / 0.5725 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.4217, allocations: 15.98 kB / 0.5725 GB, free: 7.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.4218, allocations: 33.7 kB / 0.5725 GB, free: 7.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.4219, allocations: 45.64 kB / 0.5726 GB, free: 7.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4219, allocations: 0 / 0.5726 GB, free: 7.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001458/0.422, allocations: 85.58 kB / 0.5726 GB, free: 7.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4221, allocations: 7.938 kB / 0.5727 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4221, allocations: 4 kB / 0.5727 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4221, allocations: 0 / 0.5727 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.4222, allocations: 11.94 kB / 0.5727 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4222, allocations: 1.031 kB / 0.5727 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.4222, allocations: 7.984 kB / 0.5727 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4222, allocations: 4 kB / 0.5727 GB, free: 7.242 MB / 394.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.949e-05/0.4223, allocations: 129.8 kB / 0.5728 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.4224, allocations: 15.75 kB / 0.5728 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.4225, allocations: 89.97 kB / 0.5729 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4226, allocations: 4 kB / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4226, allocations: 0 / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4226, allocations: 3.938 kB / 0.5729 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.4227, allocations: 189.6 kB / 0.5731 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4227, allocations: 0 / 0.5731 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.4228, allocations: 7.938 kB / 0.5731 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4228, allocations: 3.938 kB / 0.5731 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4228, allocations: 15.98 kB / 0.5731 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4228, allocations: 0 / 0.5731 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4228, allocations: 0 / 0.5731 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.423, allocations: 113.2 kB / 0.5732 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.423, allocations: 85.02 kB / 0.5733 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4231, allocations: 11.92 kB / 0.5733 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.4231, allocations: 4 kB / 0.5733 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.4232, allocations: 8 kB / 0.5733 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.4232, allocations: 0 / 0.5733 GB, free: 6.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4233, allocations: 144.8 kB / 0.5735 GB, free: 6.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.4233, allocations: 3.938 kB / 0.5735 GB, free: 6.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.4235, allocations: 23.92 kB / 0.5735 GB, free: 6.309 MB / 394.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008443/0.4244, allocations: 411.8 kB / 0.5739 GB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.4245, allocations: 43.98 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4245, allocations: 4.062 kB / 0.5739 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.4246, allocations: 27.92 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4248, allocations: 23.97 kB / 0.574 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.4253, allocations: 257 kB / 0.5742 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4255, allocations: 0.6926 MB / 0.5749 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.4255, allocations: 19.42 kB / 0.5749 GB, free: 4.883 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4255, allocations: 0 / 0.5749 GB, free: 4.883 MB / 394.7 MB Notification: Performance of Templates: time 0.003408/0.429, allocations: 1.703 MB / 0.5766 GB, free: 3.191 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches