Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009247/0.0009247, allocations: 200.3 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007297/0.0007299, allocations: 96.78 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002678, allocations: 15.98 kB / 464.8 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09343, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001785/0.09525, allocations: 1.424 MB / 0.5167 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1727/0.268, allocations: 1.504 MB / 0.5182 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2682, allocations: 3.375 kB / 0.5182 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.2685, allocations: 36.61 kB / 0.5182 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.2688, allocations: 80.25 kB / 0.5183 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.2691, allocations: 92.38 kB / 0.5184 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2693, allocations: 91.94 kB / 0.5185 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.2693, allocations: 11.77 kB / 0.5185 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.2694, allocations: 41.06 kB / 0.5185 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2696, allocations: 39.58 kB / 0.5186 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2696, allocations: 3.125 kB / 0.5186 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.2698, allocations: 92.23 kB / 0.5187 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.2698, allocations: 16.31 kB / 0.5187 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.2699, allocations: 39.3 kB / 0.5187 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2701, allocations: 128.8 kB / 0.5188 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2701, allocations: 0.7188 kB / 0.5188 GB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2701, allocations: 0.9688 kB / 0.5188 GB, free: 9.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2701, allocations: 0.6562 kB / 0.5188 GB, free: 9.812 MB / 346.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.0004084/0.2705, allocations: 410.7 kB / 0.5192 GB, free: 9.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2706, allocations: 9.906 kB / 0.5192 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.2706, allocations: 8.375 kB / 0.5192 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2708, allocations: 219.9 kB / 0.5195 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2708, allocations: 6.125 kB / 0.5195 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2709, allocations: 4.172 kB / 0.5195 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.271, allocations: 67.34 kB / 0.5195 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.271, allocations: 4 kB / 0.5195 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2711, allocations: 1.562 kB / 0.5195 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2711, allocations: 0.7812 kB / 0.5195 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.2712, allocations: 19.06 kB / 0.5196 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.2715, allocations: 289.7 kB / 0.5198 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2716, allocations: 64.38 kB / 0.5199 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.2717, allocations: 21.31 kB / 0.5199 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2717, allocations: 0 / 0.5199 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.2719, allocations: 65.2 kB / 0.52 GB, free: 8.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2719, allocations: 0 / 0.52 GB, free: 8.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.2724, allocations: 175.1 kB / 0.5201 GB, free: 8.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.2724, allocations: 83.03 kB / 0.5202 GB, free: 8.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2726, allocations: 166.5 kB / 0.5204 GB, free: 8.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2726, allocations: 35.03 kB / 0.5204 GB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.2727, allocations: 96.5 kB / 0.5205 GB, free: 8.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2727, allocations: 25.55 kB / 0.5205 GB, free: 8.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2727, allocations: 0 / 0.5205 GB, free: 8.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.2728, allocations: 322.8 kB / 0.5208 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.2729, allocations: 21.06 kB / 0.5209 GB, free: 8.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.2729, allocations: 43.77 kB / 0.5209 GB, free: 8.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.273, allocations: 24.14 kB / 0.5209 GB, free: 8.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.273, allocations: 0 / 0.5209 GB, free: 8.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.2732, allocations: 99.05 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2732, allocations: 5.438 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2732, allocations: 1.922 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2732, allocations: 1.062 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.2733, allocations: 15.92 kB / 0.521 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2733, allocations: 5.469 kB / 0.521 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.2734, allocations: 7.703 kB / 0.5211 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2734, allocations: 7.516 kB / 0.5211 GB, free: 8.016 MB / 346.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 (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 6.513e-05/0.2735, allocations: 125.5 kB / 0.5212 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.2735, allocations: 13.27 kB / 0.5212 GB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.2735, allocations: 14.41 kB / 0.5212 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2735, allocations: 1.438 kB / 0.5212 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2736, allocations: 0 / 0.5212 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2736, allocations: 11.06 kB / 0.5212 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2739, allocations: 398.9 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2739, allocations: 0 / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.274, allocations: 8.328 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.274, allocations: 2.172 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.274, allocations: 2.062 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.274, allocations: 1.375 kB / 0.5216 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.274, allocations: 5.281 kB / 0.5216 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2742, allocations: 211.6 kB / 0.5218 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.2743, allocations: 91.73 kB / 0.5219 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.2743, allocations: 2.328 kB / 0.5219 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.2744, allocations: 4.578 kB / 0.5219 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.2744, allocations: 13.19 kB / 0.5219 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2744, allocations: 4.906 kB / 0.5219 GB, free: 7.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.369e-05/0.2745, allocations: 126.8 kB / 0.5221 GB, free: 7.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2745, allocations: 0 / 0.5221 GB, free: 7.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.2748, allocations: 48.55 kB / 0.5221 GB, free: 7.223 MB / 346.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009947/0.2758, allocations: 0.5466 MB / 0.5226 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.276, allocations: 63.47 kB / 0.5227 GB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.276, allocations: 0 / 0.5227 GB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.2761, allocations: 28.83 kB / 0.5227 GB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2764, allocations: 29.47 kB / 0.5228 GB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.2768, allocations: 238.8 kB / 0.523 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.2769, allocations: 0.7024 MB / 0.5237 GB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2769, allocations: 21.23 kB / 0.5237 GB, free: 6.062 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2769, allocations: 0 / 0.5237 GB, free: 6.062 MB / 346.7 MB Notification: Performance of Templates: time 0.004206/0.2812, allocations: 2.4 MB / 0.526 GB, free: 5.797 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches