Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 71.89 kB / 482.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3459, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002981/0.3489, allocations: 1.736 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3505, allocations: 1.017 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.3506, allocations: 3.938 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3509, allocations: 40.16 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.3512, allocations: 95.09 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.3514, allocations: 84.28 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3516, allocations: 100.9 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3517, allocations: 14.81 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.3518, allocations: 44.28 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.3519, allocations: 33.41 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3519, allocations: 4.125 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.352, allocations: 43.48 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3521, allocations: 22.78 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3521, allocations: 32 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3523, allocations: 121.7 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3523, allocations: 5.531 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3524, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3524, allocations: 0 / 0.535 GB, free: 11.02 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.0005173/0.3529, allocations: 414.5 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.353, allocations: 9.375 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.353, allocations: 14.44 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3533, allocations: 212.4 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3533, allocations: 5.969 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3533, allocations: 10.36 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3535, allocations: 54.23 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3535, allocations: 11.83 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3535, allocations: 1.156 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3535, allocations: 1.438 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.3536, allocations: 17.92 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.354, allocations: 290.3 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3541, allocations: 53.91 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.3542, allocations: 26.56 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3542, allocations: 0 / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.3544, allocations: 69.39 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3544, allocations: 0 / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005314/0.3549, allocations: 171 kB / 0.5363 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.355, allocations: 52.44 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3552, allocations: 196.6 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3552, allocations: 26.86 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.3553, allocations: 108.6 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3553, allocations: 24.34 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3554, allocations: 27.89 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3555, allocations: 326.2 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3555, allocations: 23.77 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.3556, allocations: 43.33 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3557, allocations: 54.34 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3557, allocations: 5.031 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.3559, allocations: 107.9 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.356, allocations: 5.656 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.356, allocations: 0 / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.356, allocations: 5.031 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.3561, allocations: 12.81 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3561, allocations: 5.484 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3562, allocations: 5.438 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3562, allocations: 7.438 kB / 0.5373 GB, free: 8.855 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 8.809e-05/0.3563, allocations: 122.4 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3563, allocations: 13.95 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.3563, allocations: 18.09 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3563, allocations: 0.9688 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3564, allocations: 1.281 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3564, allocations: 3.938 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.3568, allocations: 403.1 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3568, allocations: 4.031 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.3569, allocations: 8 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3569, allocations: 1.125 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3569, allocations: 9 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3569, allocations: 0.9688 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3569, allocations: 1 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3571, allocations: 200.8 kB / 0.5381 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.3572, allocations: 95.86 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3572, allocations: 5.438 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.3573, allocations: 3.094 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3573, allocations: 11.02 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3574, allocations: 3.281 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3575, allocations: 152.3 kB / 0.5383 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.5383 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3578, allocations: 25.38 kB / 0.5384 GB, free: 7.891 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.001027/0.3588, allocations: 466.8 kB / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.359, allocations: 57.22 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.359, allocations: 1.312 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.3591, allocations: 33.45 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3594, allocations: 30.48 kB / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.3599, allocations: 258.5 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3602, allocations: 0.7059 MB / 0.5399 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3602, allocations: 23.47 kB / 0.5399 GB, free: 6.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3602, allocations: 1.188 kB / 0.5399 GB, free: 6.656 MB / 398.1 MB Notification: Performance of Templates: time 0.003649/0.3639, allocations: 1.953 MB / 0.5418 GB, free: 5.652 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches