Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 198.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.6 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008136, allocations: 99.27 kB / 295.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3075/0.3075, allocations: 44.81 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.000257, allocations: 12 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 62.96 MB / 0.5159 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001503/0.2674, allocations: 1.434 MB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2685, allocations: 0.9464 MB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.2686, allocations: 0 / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.2688, allocations: 38.98 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.269, allocations: 73.72 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2693, allocations: 91.95 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2694, allocations: 93.69 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.2695, allocations: 17.47 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.2695, allocations: 37.5 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.2696, allocations: 26.77 kB / 0.5186 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2696, allocations: 3 kB / 0.5186 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.2697, allocations: 39.33 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.2697, allocations: 16.91 kB / 0.5186 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.2698, allocations: 65.23 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2699, allocations: 86.97 kB / 0.5188 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2699, allocations: 4 kB / 0.5188 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2699, allocations: 0 / 0.5188 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.2699, allocations: 0 / 0.5188 GB, free: 35.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003558/0.2703, allocations: 392 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2703, allocations: 11.72 kB / 0.5192 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.2704, allocations: 11.56 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2705, allocations: 224.5 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2706, allocations: 3.797 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2706, allocations: 8 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2707, allocations: 60.19 kB / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2707, allocations: 3.938 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2707, allocations: 0 / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2707, allocations: 0 / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.2708, allocations: 18.14 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.2711, allocations: 292.8 kB / 0.5198 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2712, allocations: 60.52 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.2713, allocations: 20.95 kB / 0.5198 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2713, allocations: 0 / 0.5198 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2714, allocations: 72.08 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2714, allocations: 0 / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.2719, allocations: 180 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.272, allocations: 51.41 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2721, allocations: 194.5 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2721, allocations: 29.7 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.2722, allocations: 101.6 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2722, allocations: 29.94 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2722, allocations: 0 / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.2723, allocations: 333.1 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.2723, allocations: 23.3 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.2724, allocations: 35.72 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.2725, allocations: 56.69 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2725, allocations: 0 / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.2726, allocations: 94.8 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2727, allocations: 5.438 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2727, allocations: 0 / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2727, allocations: 10.16 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.2728, allocations: 11.09 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2728, allocations: 2.75 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.2728, allocations: 21.94 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.2728, allocations: 2.938 kB / 0.521 GB, free: 33.41 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 () * 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.391e-05/0.2729, allocations: 120.4 kB / 0.5211 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.2729, allocations: 17.03 kB / 0.5212 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.273, allocations: 15.31 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.273, allocations: 4 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.273, allocations: 3.938 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.273, allocations: 3.938 kB / 0.5212 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.2733, allocations: 396.9 kB / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2733, allocations: 0 / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.2734, allocations: 12.02 kB / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2734, allocations: 0 / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2734, allocations: 10.56 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2734, allocations: 4.031 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2734, allocations: 0 / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2736, allocations: 210.9 kB / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.2736, allocations: 89.83 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2736, allocations: 7.938 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.2737, allocations: 2.906 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.2738, allocations: 10.22 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2738, allocations: 2.875 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.2739, allocations: 146 kB / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2739, allocations: 0 / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.2741, allocations: 28.72 kB / 0.5221 GB, free: 32.52 MB / 378.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.0008368/0.275, allocations: 458 kB / 0.5225 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.2751, allocations: 61.73 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2751, allocations: 0 / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.2752, allocations: 34.45 kB / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.2755, allocations: 31.72 kB / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.2759, allocations: 281.5 kB / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.276, allocations: 0.707 MB / 0.5236 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.2761, allocations: 15.75 kB / 0.5236 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2761, allocations: 0 / 0.5236 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Templates: time 0.002918/0.279, allocations: 1.937 MB / 0.5255 GB, free: 31.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches