Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.1 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008256/0.0008256, allocations: 104.2 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2981/0.2981, allocations: 44.82 MB / 392.9 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002457, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 62.96 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09815/0.3572, allocations: 90.42 MB / 0.6048 GB, free: 14.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3574, allocations: 79.91 kB / 0.6049 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.3739, allocations: 6.222 MB / 0.6109 GB, free: 8.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3739, allocations: 3.984 kB / 0.6109 GB, free: 8.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3739, allocations: 4 kB / 0.6109 GB, free: 8.637 MB / 426.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.0005097/0.3745, allocations: 426.9 kB / 0.6113 GB, free: 8.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3745, allocations: 19.95 kB / 0.6114 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.3746, allocations: 8.844 kB / 0.6114 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3748, allocations: 223.9 kB / 0.6116 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3749, allocations: 4.359 kB / 0.6116 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3749, allocations: 384 / 0.6116 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.375, allocations: 54.23 kB / 0.6116 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.375, allocations: 192 / 0.6116 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.375, allocations: 3.938 kB / 0.6116 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.375, allocations: 0 / 0.6116 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.3751, allocations: 19.98 kB / 0.6117 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.3753, allocations: 185.7 kB / 0.6118 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3755, allocations: 54.56 kB / 0.6119 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.3756, allocations: 24.84 kB / 0.6119 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3756, allocations: 7.984 kB / 0.6119 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.3758, allocations: 63.39 kB / 0.612 GB, free: 7.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.572e-06/0.3758, allocations: 0 / 0.612 GB, free: 7.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.3761, allocations: 105.4 kB / 0.6121 GB, free: 7.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3762, allocations: 55.34 kB / 0.6121 GB, free: 7.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3764, allocations: 183.3 kB / 0.6123 GB, free: 7.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3764, allocations: 25.7 kB / 0.6123 GB, free: 6.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.3764, allocations: 104.1 kB / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3765, allocations: 11.8 kB / 0.6125 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.3765, allocations: 4 kB / 0.6125 GB, free: 6.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3766, allocations: 322.8 kB / 0.6128 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.3767, allocations: 12 kB / 0.6128 GB, free: 6.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.3767, allocations: 33.7 kB / 0.6128 GB, free: 6.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/0.3768, allocations: 45.64 kB / 0.6128 GB, free: 6.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3768, allocations: 0 / 0.6128 GB, free: 6.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/0.377, allocations: 85.84 kB / 0.6129 GB, free: 6.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.377, allocations: 10.91 kB / 0.6129 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.377, allocations: 3.984 kB / 0.6129 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.377, allocations: 4 kB / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3771, allocations: 15.88 kB / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3771, allocations: 4.031 kB / 0.613 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.3772, allocations: 4 kB / 0.613 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3772, allocations: 0 / 0.613 GB, free: 6.32 MB / 426.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.171e-05/0.3773, allocations: 121.8 kB / 0.6131 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3773, allocations: 19.75 kB / 0.6131 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3775, allocations: 98.59 kB / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3775, allocations: 0 / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3775, allocations: 0 / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3775, allocations: 8 kB / 0.6132 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3777, allocations: 189.6 kB / 0.6134 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3777, allocations: 0 / 0.6134 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.3777, allocations: 4 kB / 0.6134 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3777, allocations: 3.938 kB / 0.6134 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3777, allocations: 0 / 0.6134 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3777, allocations: 0 / 0.6134 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3777, allocations: 4 kB / 0.6134 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3779, allocations: 113 kB / 0.6135 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.378, allocations: 96.91 kB / 0.6136 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.378, allocations: 3.938 kB / 0.6136 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.3781, allocations: 7.984 kB / 0.6136 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.3781, allocations: 7.922 kB / 0.6136 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3781, allocations: 8.188 kB / 0.6136 GB, free: 5.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3782, allocations: 138 kB / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3782, allocations: 0 / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.3784, allocations: 24 kB / 0.6138 GB, free: 5.395 MB / 426.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.0008125/0.3793, allocations: 419.9 kB / 0.6142 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3794, allocations: 43.97 kB / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3794, allocations: 0 / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.3795, allocations: 19.94 kB / 0.6142 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.3797, allocations: 27.62 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.3801, allocations: 239 kB / 0.6145 GB, free: 4.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3803, allocations: 0.7004 MB / 0.6152 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.3804, allocations: 15.44 kB / 0.6152 GB, free: 4.027 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3804, allocations: 4 kB / 0.6152 GB, free: 4.023 MB / 426.7 MB Notification: Performance of Templates: time 0.00293/0.3833, allocations: 1.719 MB / 0.6169 GB, free: 2.312 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches