Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001374, allocations: 118.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 202 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2834/0.2834, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 75.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.433, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.004977/0.438, allocations: 1.696 MB / 0.5327 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4399, allocations: 0.994 MB / 0.5337 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.44, allocations: 3.938 kB / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.4404, allocations: 63.78 kB / 0.5337 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.4409, allocations: 110.3 kB / 0.5339 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.4413, allocations: 77.86 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.4415, allocations: 103.2 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.4416, allocations: 8.875 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4417, allocations: 51.67 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4419, allocations: 40.59 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4419, allocations: 7.172 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.442, allocations: 24.69 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.4421, allocations: 18.33 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.4422, allocations: 40.67 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4424, allocations: 106.6 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4424, allocations: 0 / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4425, allocations: 3.938 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4425, allocations: 0 / 0.5343 GB, free: 11.31 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.0006463/0.4431, allocations: 411.8 kB / 0.5347 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4432, allocations: 13.56 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.4432, allocations: 8.969 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.4436, allocations: 217.2 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4436, allocations: 5.75 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4436, allocations: 9.5 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4438, allocations: 51.23 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4438, allocations: 0 / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4438, allocations: 0 / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4439, allocations: 1.375 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.4439, allocations: 16.23 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.4442, allocations: 179.4 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.4443, allocations: 55.17 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.4444, allocations: 21.05 kB / 0.5353 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4445, allocations: 3.938 kB / 0.5353 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.4446, allocations: 69.05 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4446, allocations: 0 / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003321/0.445, allocations: 100.1 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.445, allocations: 51.41 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.4452, allocations: 196.4 kB / 0.5357 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4453, allocations: 30.89 kB / 0.5357 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.4453, allocations: 96.48 kB / 0.5358 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.4454, allocations: 25.83 kB / 0.5358 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4454, allocations: 19.06 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4455, allocations: 322.1 kB / 0.5361 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.4456, allocations: 19.64 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.4457, allocations: 23.5 kB / 0.5362 GB, free: 9.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.4458, allocations: 44.23 kB / 0.5362 GB, free: 9.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4458, allocations: 4 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.446, allocations: 84.25 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.446, allocations: 6.625 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.446, allocations: 5.156 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.446, allocations: 1.094 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.4461, allocations: 12.39 kB / 0.5363 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4461, allocations: 1.031 kB / 0.5363 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4462, allocations: 10.16 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4462, allocations: 2.312 kB / 0.5363 GB, free: 9.332 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.0001093/0.4463, allocations: 130.5 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.4463, allocations: 13.09 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.4464, allocations: 13.72 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4464, allocations: 9.219 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4464, allocations: 0 / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4464, allocations: 5.328 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.4466, allocations: 188.8 kB / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4466, allocations: 0 / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.4466, allocations: 4.031 kB / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4466, allocations: 0 / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4466, allocations: 5.141 kB / 0.5367 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4466, allocations: 3.984 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4466, allocations: 1.281 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.4469, allocations: 113.5 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.4469, allocations: 91.23 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4469, allocations: 1.562 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.447, allocations: 1.406 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.447, allocations: 6.469 kB / 0.5369 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4471, allocations: 6.297 kB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.4472, allocations: 144.2 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4472, allocations: 4 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.4474, allocations: 24.83 kB / 0.5371 GB, free: 8.617 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.000974/0.4484, allocations: 398.5 kB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.4486, allocations: 47.52 kB / 0.5375 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4486, allocations: 0 / 0.5375 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.4487, allocations: 19.45 kB / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.449, allocations: 38.86 kB / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.4494, allocations: 194.5 kB / 0.5377 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4497, allocations: 0.7005 MB / 0.5384 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.4498, allocations: 20 kB / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.4498, allocations: 14.47 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4499, allocations: 0 / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of Templates: time 0.004899/0.4548, allocations: 1.519 MB / 0.5399 GB, free: 6.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches