Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.88 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5398, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003846/0.5437, allocations: 1.84 MB / 0.5329 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.5469, allocations: 1.692 MB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.547, allocations: 1.375 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.5474, allocations: 50.83 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.548, allocations: 141.7 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.5482, allocations: 105.8 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.5486, allocations: 202.5 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.5487, allocations: 14.42 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.5488, allocations: 81.12 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.5491, allocations: 78.84 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.5492, allocations: 9.594 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.5494, allocations: 118.4 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.5495, allocations: 43.86 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.5496, allocations: 59.73 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.5501, allocations: 230.2 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5501, allocations: 1.125 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5501, allocations: 0 / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.5501, allocations: 0 / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009475/0.5511, allocations: 0.4937 MB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.5511, allocations: 9.938 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.5512, allocations: 16.56 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.5517, allocations: 262.5 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.5517, allocations: 3.031 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.5518, allocations: 6.656 kB / 0.5364 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.552, allocations: 104.4 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5521, allocations: 0 / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.5521, allocations: 0.9062 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5521, allocations: 5.406 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.5522, allocations: 31.86 kB / 0.5365 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.5526, allocations: 216.9 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.5529, allocations: 110.2 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.553, allocations: 45.58 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.553, allocations: 6.109 kB / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.5533, allocations: 107.6 kB / 0.537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.5533, allocations: 5.031 kB / 0.537 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005747/0.5539, allocations: 172.5 kB / 0.5371 GB, free: 8.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.554, allocations: 133.8 kB / 0.5373 GB, free: 8.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.5544, allocations: 239.2 kB / 0.5375 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5544, allocations: 27.92 kB / 0.5375 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.5545, allocations: 118.9 kB / 0.5376 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.5546, allocations: 33 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.5547, allocations: 35.52 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5548, allocations: 327.1 kB / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.555, allocations: 26.89 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5551, allocations: 73.88 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.5553, allocations: 86.73 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5553, allocations: 1.125 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000318/0.5557, allocations: 140.8 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5557, allocations: 8.75 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5557, allocations: 1.156 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5557, allocations: 1.125 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5559, allocations: 25.36 kB / 0.5383 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5559, allocations: 6.25 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.556, allocations: 13.05 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.556, allocations: 7.156 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.5562, allocations: 133.8 kB / 0.5385 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.5562, allocations: 16.62 kB / 0.5385 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.5563, allocations: 19.48 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5563, allocations: 1 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5563, allocations: 1.375 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5564, allocations: 5.188 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.5566, allocations: 235.1 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5566, allocations: 1.062 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.5566, allocations: 14.61 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5566, allocations: 0 / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5567, allocations: 2.844 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5567, allocations: 1.125 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5567, allocations: 0 / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.557, allocations: 183.3 kB / 0.539 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.5571, allocations: 89.67 kB / 0.539 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.5571, allocations: 2.25 kB / 0.539 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.5572, allocations: 11.98 kB / 0.5391 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.5573, allocations: 4.281 kB / 0.5391 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5573, allocations: 8.359 kB / 0.5391 GB, free: 6.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5575, allocations: 178.4 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.5575, allocations: 0 / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.5578, allocations: 65.98 kB / 0.5393 GB, free: 6.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.5592, allocations: 495.7 kB / 0.5398 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.5595, allocations: 82.31 kB / 0.5399 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5595, allocations: 1.312 kB / 0.5399 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.5597, allocations: 43 kB / 0.5399 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.5601, allocations: 67.67 kB / 0.54 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.561, allocations: 285 kB / 0.5402 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.5616, allocations: 0.7146 MB / 0.5409 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.5617, allocations: 39.23 kB / 0.541 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.5618, allocations: 30.55 kB / 0.541 GB, free: 5.398 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5618, allocations: 1.188 kB / 0.541 GB, free: 5.398 MB / 398.1 MB Notification: Performance of Templates: time 0.008592/0.5704, allocations: 3.112 MB / 0.544 GB, free: 3.82 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches