Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001473, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 75.88 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3493, allocations: 62.42 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003713/0.3531, allocations: 1.737 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.355, allocations: 1.019 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3551, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.3555, allocations: 53.62 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.3559, allocations: 97.84 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.3562, allocations: 78.91 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3564, allocations: 112.8 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3565, allocations: 10.86 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.3566, allocations: 40.3 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.3567, allocations: 37.39 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3567, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3568, allocations: 40.86 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.3569, allocations: 30.91 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.357, allocations: 35.94 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3573, allocations: 149.7 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3573, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3573, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3573, allocations: 0.875 kB / 0.5351 GB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000629/0.3579, allocations: 445.9 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.358, allocations: 9.125 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.358, allocations: 19.16 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3584, allocations: 219.6 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3584, allocations: 10 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3584, allocations: 6.875 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3586, allocations: 57.52 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3586, allocations: 1.125 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3586, allocations: 3.938 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3586, allocations: 1.094 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3588, allocations: 18.42 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.3592, allocations: 296.3 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3594, allocations: 65.7 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.3595, allocations: 16.77 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3595, allocations: 1.156 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3597, allocations: 65.95 kB / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3597, allocations: 4 kB / 0.5363 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006661/0.3603, allocations: 184.9 kB / 0.5364 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3604, allocations: 52.5 kB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3607, allocations: 270.8 kB / 0.5368 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3607, allocations: 31.03 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3608, allocations: 115.6 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3609, allocations: 23.72 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3609, allocations: 23.89 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.361, allocations: 336.2 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.3611, allocations: 18.98 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3612, allocations: 43.61 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3614, allocations: 54.97 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3614, allocations: 0 / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.3616, allocations: 109.2 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3617, allocations: 8.969 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3617, allocations: 5.016 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3617, allocations: 0.9688 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.3618, allocations: 18.19 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3618, allocations: 0 / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3619, allocations: 10.77 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3619, allocations: 2.688 kB / 0.5375 GB, free: 8.762 MB / 398.1 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 ($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 (10): * Single equations (assignments): 10 * 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.0001161/0.362, allocations: 137.6 kB / 0.5377 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.362, allocations: 18.62 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.3621, allocations: 25.67 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3621, allocations: 1.531 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3621, allocations: 0 / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3621, allocations: 3.938 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.3627, allocations: 412.6 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3627, allocations: 0 / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.3628, allocations: 7.75 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3628, allocations: 1.031 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3628, allocations: 10.06 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3628, allocations: 1 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3628, allocations: 1.062 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3631, allocations: 210.1 kB / 0.5383 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.3631, allocations: 84.27 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3632, allocations: 14.06 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.3633, allocations: 6.094 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3633, allocations: 7.109 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3633, allocations: 3.219 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3636, allocations: 202.7 kB / 0.5386 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3636, allocations: 0 / 0.5386 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3639, allocations: 25.95 kB / 0.5386 GB, free: 7.766 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: 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 (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.00112/0.365, allocations: 464.1 kB / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3653, allocations: 62.88 kB / 0.5391 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3653, allocations: 0 / 0.5391 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3654, allocations: 21.03 kB / 0.5392 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3658, allocations: 35.05 kB / 0.5392 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.3664, allocations: 320.4 kB / 0.5395 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3668, allocations: 0.7216 MB / 0.5402 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.3668, allocations: 15.53 kB / 0.5402 GB, free: 6.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3668, allocations: 0 / 0.5402 GB, free: 6.512 MB / 398.1 MB Notification: Performance of Templates: time 0.004845/0.3717, allocations: 2.135 MB / 0.5423 GB, free: 5.398 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches