Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.001175, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.001099, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, 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.2261/0.2261, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 79.86 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3504, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002927/0.3533, allocations: 1.689 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.355, allocations: 0.9988 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.3551, allocations: 1.375 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.3554, allocations: 91.42 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3557, allocations: 115.4 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3559, allocations: 73.56 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3561, allocations: 110.4 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.3561, allocations: 8.359 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.3562, allocations: 45.78 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.3563, allocations: 57.94 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3564, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.3565, allocations: 32.38 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.3565, allocations: 24.47 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.3566, allocations: 42.8 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3568, allocations: 107.1 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3568, allocations: 1.094 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3568, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3568, allocations: 0 / 0.535 GB, free: 11.05 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004687/0.3573, allocations: 411.8 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3573, allocations: 10.34 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.3574, allocations: 12.78 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3577, allocations: 232.4 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3577, allocations: 1.938 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3577, allocations: 9.578 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3579, allocations: 43.91 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3579, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3579, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3579, allocations: 0.9062 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.358, allocations: 20.3 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.3582, allocations: 189 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3583, allocations: 59.06 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.3584, allocations: 24.44 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3584, allocations: 1.062 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3586, allocations: 64.98 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3586, allocations: 4 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002873/0.3589, allocations: 96.23 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3589, allocations: 51.41 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3591, allocations: 222.5 kB / 0.5364 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3592, allocations: 27.02 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.3592, allocations: 104.9 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3593, allocations: 18.06 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3593, allocations: 15.62 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3594, allocations: 330.2 kB / 0.5369 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.3595, allocations: 15.95 kB / 0.5369 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.3595, allocations: 26.83 kB / 0.5369 GB, free: 9.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.3597, allocations: 48.31 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3597, allocations: 3.984 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.3598, allocations: 80.09 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3599, allocations: 9.125 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3599, allocations: 1.031 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3599, allocations: 1.312 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.36, allocations: 12.75 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.36, allocations: 1.281 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.36, allocations: 14.36 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.36, allocations: 1.469 kB / 0.5371 GB, free: 9.047 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 (7): * Single equations (assignments): 7 * 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.0001028/0.3601, allocations: 124.2 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3602, allocations: 18.55 kB / 0.5372 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3602, allocations: 18.06 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3602, allocations: 0.9062 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3602, allocations: 0 / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3602, allocations: 0 / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3604, allocations: 195.6 kB / 0.5374 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3604, allocations: 0 / 0.5374 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.3604, allocations: 8.094 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3604, allocations: 0 / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3605, allocations: 1.375 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3605, allocations: 1.375 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3605, allocations: 7.984 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3607, allocations: 109.8 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3607, allocations: 91.77 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3608, allocations: 9.375 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.3608, allocations: 1.281 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3608, allocations: 2.781 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3609, allocations: 10.42 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.361, allocations: 168.9 kB / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.361, allocations: 0 / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.3613, allocations: 16.69 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000911/0.3622, allocations: 399.5 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3624, allocations: 43.88 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3624, allocations: 0 / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.3624, allocations: 20.59 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3627, allocations: 39.53 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.3632, allocations: 250.1 kB / 0.5386 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3635, allocations: 0.7098 MB / 0.5393 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3635, allocations: 17.12 kB / 0.5393 GB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3635, allocations: 0 / 0.5393 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Templates: time 0.004197/0.3677, allocations: 1.793 MB / 0.541 GB, free: 6.211 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches