Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001293, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 83.86 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4343, allocations: 62.42 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003517/0.4378, allocations: 1.744 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4402, allocations: 1.014 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.4404, allocations: 0 / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.4409, allocations: 38.77 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.4413, allocations: 103 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.4416, allocations: 78.97 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.4419, allocations: 100.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.4421, allocations: 10.86 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4422, allocations: 44.3 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.4423, allocations: 38.77 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.4423, allocations: 8.062 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4425, allocations: 39.48 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.4426, allocations: 21.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.4427, allocations: 35.98 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.443, allocations: 125 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.443, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.443, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4431, allocations: 0.9688 kB / 0.5344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008014/0.4439, allocations: 405.7 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4439, allocations: 9.438 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.444, allocations: 13.38 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.4443, allocations: 212.2 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4443, allocations: 1.719 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4444, allocations: 10.84 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4446, allocations: 57.28 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4446, allocations: 0 / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4446, allocations: 5.281 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4446, allocations: 1.156 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.4447, allocations: 18.23 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.4452, allocations: 289.7 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4453, allocations: 58.3 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.4454, allocations: 25.48 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4454, allocations: 1.125 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.4456, allocations: 76.56 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4456, allocations: 1.219 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005864/0.4462, allocations: 168.5 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4463, allocations: 53.56 kB / 0.5357 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.4465, allocations: 185.9 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4465, allocations: 26.8 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.4466, allocations: 104.7 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4466, allocations: 23.28 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.4467, allocations: 32.33 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4468, allocations: 326.3 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.4469, allocations: 18.2 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.447, allocations: 35.81 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4471, allocations: 63.72 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4471, allocations: 4.188 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.4473, allocations: 103.3 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4474, allocations: 8.531 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4474, allocations: 1.406 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4474, allocations: 1.406 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.4475, allocations: 12.91 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4475, allocations: 1.125 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.4475, allocations: 9.141 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4476, allocations: 3.531 kB / 0.5366 GB, free: 8.906 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.0001063/0.4477, allocations: 130.1 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.4477, allocations: 12.94 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.4478, allocations: 18.58 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4478, allocations: 0 / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4478, allocations: 1.406 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4478, allocations: 3.938 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.4482, allocations: 389.5 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4483, allocations: 4.031 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.4483, allocations: 11.95 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4483, allocations: 1.344 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4483, allocations: 5.25 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4483, allocations: 5.562 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4483, allocations: 1.344 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.4486, allocations: 199.6 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.4487, allocations: 91.8 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4487, allocations: 14.27 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.4488, allocations: 5.156 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4488, allocations: 4 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.4489, allocations: 8.109 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.449, allocations: 134.8 kB / 0.5376 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.449, allocations: 0 / 0.5376 GB, free: 7.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.4493, allocations: 29.08 kB / 0.5377 GB, free: 7.945 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.001172/0.4505, allocations: 456.4 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.4507, allocations: 62.31 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4507, allocations: 3.938 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.4508, allocations: 33.45 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.4511, allocations: 32.39 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.4516, allocations: 217.5 kB / 0.5384 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4519, allocations: 0.7046 MB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.452, allocations: 23.02 kB / 0.5391 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.452, allocations: 15 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.452, allocations: 0 / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.004916/0.457, allocations: 1.726 MB / 0.5408 GB, free: 5.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches