Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3752, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00305/0.3783, allocations: 1.738 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.38, allocations: 1.021 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.38, allocations: 1.375 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.3803, allocations: 42.77 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.3807, allocations: 95.09 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3809, allocations: 78.91 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3811, allocations: 102.3 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3812, allocations: 9.484 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.3813, allocations: 48.28 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.3814, allocations: 38.72 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3814, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.3815, allocations: 39.48 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.3816, allocations: 26.73 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.3817, allocations: 35.98 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3819, allocations: 117.6 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3819, allocations: 0.875 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3819, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3819, allocations: 0.9062 kB / 0.535 GB, free: 11.03 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.0005753/0.3825, allocations: 422.4 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3826, allocations: 10.25 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3826, allocations: 8.906 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3829, allocations: 216.7 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3829, allocations: 2 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.383, allocations: 6.531 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3831, allocations: 54.61 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3831, allocations: 7.891 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3832, allocations: 5.344 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.3832, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.3833, allocations: 23.2 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3836, allocations: 294.7 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3838, allocations: 49.19 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3839, allocations: 25.38 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3839, allocations: 6.125 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3841, allocations: 64.39 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3841, allocations: 0 / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.3846, allocations: 174.1 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3847, allocations: 53.56 kB / 0.5364 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3849, allocations: 196.4 kB / 0.5366 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3849, allocations: 30.83 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.385, allocations: 100.6 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.385, allocations: 28.45 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.3851, allocations: 24.33 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3852, allocations: 330.3 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.3853, allocations: 14.28 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.3853, allocations: 39.98 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3855, allocations: 62.98 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3855, allocations: 0 / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.3857, allocations: 103.1 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3857, allocations: 6.281 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3857, allocations: 0 / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3857, allocations: 9.281 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.3858, allocations: 17.41 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3858, allocations: 5.406 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3859, allocations: 14.67 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3859, allocations: 2.656 kB / 0.5373 GB, free: 8.859 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 9.327e-05/0.386, allocations: 122.8 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.386, allocations: 9.188 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.3861, allocations: 17.95 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3861, allocations: 1.188 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3861, allocations: 1.25 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3861, allocations: 11.88 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.3866, allocations: 390.4 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3866, allocations: 5.328 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.3866, allocations: 10.69 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3866, allocations: 1.281 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3867, allocations: 5.344 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3867, allocations: 1.062 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3867, allocations: 1.375 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3869, allocations: 201.1 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.387, allocations: 91.66 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.387, allocations: 5.031 kB / 0.5382 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3871, allocations: 6.156 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3871, allocations: 11.11 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3871, allocations: 4.469 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3873, allocations: 156.1 kB / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3873, allocations: 0 / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3875, allocations: 24.66 kB / 0.5384 GB, free: 7.898 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.001038/0.3886, allocations: 463.4 kB / 0.5388 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3888, allocations: 64.73 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3888, allocations: 1.312 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.3889, allocations: 24.64 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3892, allocations: 33.25 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.3897, allocations: 266.5 kB / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.39, allocations: 0.7061 MB / 0.5399 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.39, allocations: 14.81 kB / 0.5399 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.39, allocations: 1.062 kB / 0.5399 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.003803/0.3938, allocations: 1.952 MB / 0.5418 GB, free: 5.664 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches