Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 199.7 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.388/1.388, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007878, allocations: 93.61 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3611/0.3611, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003335, allocations: 15.98 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3262, allocations: 62.95 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001719/0.328, allocations: 1.428 MB / 0.5173 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3292, allocations: 0.9453 MB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3293, allocations: 0 / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3296, allocations: 42.44 kB / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.3299, allocations: 75.5 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3301, allocations: 90.11 kB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3303, allocations: 93.16 kB / 0.5185 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.3304, allocations: 10.36 kB / 0.5185 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.3304, allocations: 35.03 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.3305, allocations: 34.42 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3305, allocations: 3 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.323e-05/0.3306, allocations: 43.11 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.3307, allocations: 16.14 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.3307, allocations: 63.44 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3309, allocations: 87.67 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3309, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3309, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3309, allocations: 0 / 0.5188 GB, free: 35.2 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.0004682/0.3314, allocations: 395.2 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3314, allocations: 8.219 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3315, allocations: 18.38 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3317, allocations: 213.3 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3317, allocations: 6.781 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3317, allocations: 10.94 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3319, allocations: 47.69 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3319, allocations: 0 / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3319, allocations: 4 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3319, allocations: 7.031 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.332, allocations: 15.66 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.3323, allocations: 299.6 kB / 0.5197 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3325, allocations: 53.42 kB / 0.5198 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.3325, allocations: 21.25 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3326, allocations: 0 / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3327, allocations: 73.98 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3327, allocations: 3.938 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004677/0.3332, allocations: 175.5 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.3332, allocations: 55.34 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3334, allocations: 203.4 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3334, allocations: 25.7 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.3334, allocations: 101.2 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3335, allocations: 32.97 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.3335, allocations: 4 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.3335, allocations: 325.1 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.3336, allocations: 22.64 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.3337, allocations: 32.11 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.3338, allocations: 55.05 kB / 0.5209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3338, allocations: 4 kB / 0.5209 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001472/0.3339, allocations: 107.3 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3339, allocations: 2.812 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.334, allocations: 2.844 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.334, allocations: 0 / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.3341, allocations: 21.48 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3341, allocations: 0 / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.3341, allocations: 10.72 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3341, allocations: 2.906 kB / 0.521 GB, free: 33.21 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 7.135e-05/0.3342, allocations: 129.8 kB / 0.5211 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3342, allocations: 9.688 kB / 0.5212 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3343, allocations: 18.38 kB / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3343, allocations: 0 / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3343, allocations: 0 / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3343, allocations: 3.938 kB / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.3346, allocations: 391 kB / 0.5216 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3346, allocations: 2.906 kB / 0.5216 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.3347, allocations: 12.84 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3347, allocations: 2.938 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3347, allocations: 3.938 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3347, allocations: 3.031 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3347, allocations: 240 / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.3349, allocations: 214.1 kB / 0.5218 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.3349, allocations: 91.52 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.335, allocations: 6.75 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.335, allocations: 6.391 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3351, allocations: 3.688 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3351, allocations: 11.58 kB / 0.5219 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.3352, allocations: 149.1 kB / 0.522 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3352, allocations: 0 / 0.522 GB, free: 32.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.3354, allocations: 24.91 kB / 0.5221 GB, free: 32.32 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.0009253/0.3364, allocations: 463.2 kB / 0.5225 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.3365, allocations: 57.83 kB / 0.5226 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3365, allocations: 8 kB / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.3366, allocations: 33.08 kB / 0.5226 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3369, allocations: 26.05 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.3373, allocations: 284.4 kB / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.3375, allocations: 0.7004 MB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.3375, allocations: 18.91 kB / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3375, allocations: 0 / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003015/0.3405, allocations: 1.933 MB / 0.5255 GB, free: 30.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches