Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 226.5 MB / 243.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007734, allocations: 106.9 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3404/0.3404, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3315, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001682/0.3333, allocations: 1.427 MB / 0.5173 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3345, allocations: 0.9518 MB / 0.5182 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.3346, allocations: 0 / 0.5182 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.3348, allocations: 36.53 kB / 0.5182 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3351, allocations: 78.34 kB / 0.5183 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3353, allocations: 89.55 kB / 0.5184 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3355, allocations: 98.69 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.3356, allocations: 13.34 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3356, allocations: 43.5 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.3357, allocations: 23.67 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3357, allocations: 2.75 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.3358, allocations: 37.67 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.3359, allocations: 21.19 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.3359, allocations: 61.47 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3361, allocations: 89.58 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3361, allocations: 2.969 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3361, allocations: 0 / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.3361, allocations: 0 / 0.5188 GB, free: 35.06 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.0004506/0.3365, allocations: 394.4 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3366, allocations: 8.406 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3366, allocations: 14.56 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3368, allocations: 217.7 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3368, allocations: 4.375 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3369, allocations: 7.094 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.337, allocations: 51.61 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.337, allocations: 3.469 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.337, allocations: 3 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.337, allocations: 3.938 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.3371, allocations: 16.17 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3374, allocations: 294.4 kB / 0.5197 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3375, allocations: 63.09 kB / 0.5198 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.3376, allocations: 20.64 kB / 0.5198 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3376, allocations: 2.969 kB / 0.5198 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.3378, allocations: 71.09 kB / 0.5199 GB, free: 33.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3378, allocations: 4 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.3383, allocations: 175.2 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3383, allocations: 51.41 kB / 0.5201 GB, free: 33.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3385, allocations: 193.7 kB / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3385, allocations: 32.58 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.3385, allocations: 101.6 kB / 0.5204 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3385, allocations: 25.62 kB / 0.5205 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3386, allocations: 3.938 kB / 0.5205 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.3386, allocations: 333 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.3387, allocations: 18.73 kB / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.3387, allocations: 35.88 kB / 0.5208 GB, free: 33.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.3388, allocations: 61.67 kB / 0.5209 GB, free: 33.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3388, allocations: 0 / 0.5209 GB, free: 33.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.339, allocations: 96.81 kB / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.339, allocations: 10.81 kB / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.339, allocations: 0 / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.339, allocations: 0 / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.3391, allocations: 14.47 kB / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3391, allocations: 3.938 kB / 0.521 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.3392, allocations: 18.41 kB / 0.521 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3392, allocations: 2.969 kB / 0.521 GB, free: 33.07 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.017e-05/0.3393, allocations: 120.4 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3393, allocations: 21.22 kB / 0.5212 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3394, allocations: 15.47 kB / 0.5212 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3394, allocations: 0 / 0.5212 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3394, allocations: 3.938 kB / 0.5212 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3394, allocations: 7.125 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.3397, allocations: 393.5 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3397, allocations: 0 / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.3398, allocations: 15.95 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3398, allocations: 4.031 kB / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3398, allocations: 6.438 kB / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3398, allocations: 0 / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3398, allocations: 2.625 kB / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.34, allocations: 205.9 kB / 0.5218 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.34, allocations: 87.45 kB / 0.5219 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.34, allocations: 6.906 kB / 0.5219 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.3401, allocations: 12 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3402, allocations: 9.25 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3402, allocations: 2.875 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.3403, allocations: 145.8 kB / 0.522 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 0.522 GB, free: 32.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.3405, allocations: 26.12 kB / 0.5221 GB, free: 32.18 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.0008805/0.3414, allocations: 459.9 kB / 0.5225 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.3416, allocations: 67.53 kB / 0.5226 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3416, allocations: 0 / 0.5226 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.3417, allocations: 32.03 kB / 0.5226 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.342, allocations: 26.48 kB / 0.5226 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3424, allocations: 281.1 kB / 0.5229 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3425, allocations: 0.7067 MB / 0.5236 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.3425, allocations: 15.31 kB / 0.5236 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3425, allocations: 0 / 0.5236 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.002886/0.3454, allocations: 1.935 MB / 0.5255 GB, free: 30.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches