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.001538/0.001541, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.932/1.932, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001712/0.001711, allocations: 94.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.708e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 58.87 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.6009, allocations: 87.45 MB / 0.5582 GB, free: 108 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.6012, allocations: 73.38 kB / 0.5583 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.6237, allocations: 5.224 MB / 0.5634 GB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6238, allocations: 0 / 0.5634 GB, free: 11.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.6238, allocations: 4 kB / 0.5634 GB, free: 11.66 MB / 378.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.0005238/0.6243, allocations: 388.9 kB / 0.5638 GB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6244, allocations: 8.031 kB / 0.5638 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.6245, allocations: 11.91 kB / 0.5638 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.6249, allocations: 214.4 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6249, allocations: 8 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.6249, allocations: 0 / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.6251, allocations: 56.11 kB / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6251, allocations: 0 / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6251, allocations: 0 / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6251, allocations: 0 / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.077e-05/0.6252, allocations: 11.06 kB / 0.564 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.6255, allocations: 189.2 kB / 0.5642 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.6256, allocations: 53.69 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.6257, allocations: 19.48 kB / 0.5643 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6257, allocations: 0 / 0.5643 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.6259, allocations: 65.86 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.6259, allocations: 0 / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002567/0.6262, allocations: 76.28 kB / 0.5644 GB, free: 10.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.6263, allocations: 55.41 kB / 0.5645 GB, free: 10.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.6265, allocations: 172 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.6265, allocations: 29.7 kB / 0.5647 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.6266, allocations: 161.9 kB / 0.5648 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.6267, allocations: 19.44 kB / 0.5649 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.6267, allocations: 0 / 0.5649 GB, free: 10.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6268, allocations: 318.3 kB / 0.5652 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.6269, allocations: 11.75 kB / 0.5652 GB, free: 9.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.6269, allocations: 37.38 kB / 0.5652 GB, free: 9.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.627, allocations: 19.33 kB / 0.5652 GB, free: 9.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.627, allocations: 0 / 0.5652 GB, free: 9.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.6272, allocations: 72.55 kB / 0.5653 GB, free: 9.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6272, allocations: 11.44 kB / 0.5653 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6273, allocations: 3.938 kB / 0.5653 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6273, allocations: 0 / 0.5653 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6274, allocations: 12.12 kB / 0.5653 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.6275, allocations: 4 kB / 0.5653 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.6276, allocations: 4.031 kB / 0.5653 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.6276, allocations: 7.984 kB / 0.5653 GB, free: 9.582 MB / 378.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 (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 9.59e-05/0.6277, allocations: 112.6 kB / 0.5654 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.6277, allocations: 11.81 kB / 0.5655 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.628, allocations: 92.38 kB / 0.5655 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.628, allocations: 0 / 0.5655 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6281, allocations: 4 kB / 0.5655 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6281, allocations: 0 / 0.5655 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.6283, allocations: 192.3 kB / 0.5657 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6283, allocations: 3.953 kB / 0.5657 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.6284, allocations: 4 kB / 0.5657 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.6284, allocations: 3.984 kB / 0.5657 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6284, allocations: 0 / 0.5657 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6284, allocations: 4 kB / 0.5657 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6284, allocations: 0 / 0.5657 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.6287, allocations: 111.6 kB / 0.5658 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.6288, allocations: 100.5 kB / 0.5659 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.6288, allocations: 0 / 0.5659 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.6289, allocations: 7.984 kB / 0.566 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.6289, allocations: 0 / 0.566 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.629, allocations: 4 kB / 0.566 GB, free: 8.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.6292, allocations: 145.7 kB / 0.5661 GB, free: 8.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6292, allocations: 0 / 0.5661 GB, free: 8.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.6295, allocations: 19.94 kB / 0.5661 GB, free: 8.75 MB / 378.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) * 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.001146/0.6306, allocations: 374.5 kB / 0.5665 GB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.6309, allocations: 46.92 kB / 0.5665 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6309, allocations: 0 / 0.5665 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.631, allocations: 19.75 kB / 0.5665 GB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.6313, allocations: 32.12 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.6318, allocations: 165.5 kB / 0.5667 GB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.6322, allocations: 0.7121 MB / 0.5674 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.6322, allocations: 15.44 kB / 0.5674 GB, free: 7.441 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6323, allocations: 0 / 0.5674 GB, free: 7.441 MB / 378.7 MB Notification: Performance of Templates: time 0.00488/0.6371, allocations: 1.701 MB / 0.5691 GB, free: 5.746 MB / 378.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