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.00133/0.001331, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 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.2275/0.2275, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 83.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4169, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003504/0.4205, allocations: 1.699 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4224, allocations: 0.9979 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.4225, allocations: 1.375 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.4229, allocations: 67.11 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.4233, allocations: 105.9 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.4236, allocations: 77.59 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.4238, allocations: 103.7 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.4239, allocations: 4.359 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.424, allocations: 48.39 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4242, allocations: 48.39 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.4242, allocations: 6.75 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.4243, allocations: 32.61 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.4244, allocations: 18.8 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.4244, allocations: 32 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.4247, allocations: 112.6 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4247, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4247, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4247, allocations: 0 / 0.5343 GB, free: 11.09 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.0005774/0.4253, allocations: 405.6 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4254, allocations: 13.62 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.4254, allocations: 16.91 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4257, allocations: 213.3 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4257, allocations: 1.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4258, allocations: 5.5 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4259, allocations: 47.3 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4259, allocations: 0 / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4259, allocations: 7.984 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.426, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.426, allocations: 20.17 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.4263, allocations: 183.4 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4265, allocations: 51.45 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.4265, allocations: 19.58 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4266, allocations: 5.047 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.4267, allocations: 76.11 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4267, allocations: 1.062 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003004/0.427, allocations: 91.67 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4271, allocations: 51.41 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4273, allocations: 192.7 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4273, allocations: 26.64 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.4274, allocations: 104.8 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4275, allocations: 22.31 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.4275, allocations: 18.84 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4277, allocations: 325.6 kB / 0.5361 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.4277, allocations: 16.05 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.4278, allocations: 31.92 kB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4279, allocations: 43.12 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4279, allocations: 5.125 kB / 0.5362 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001891/0.4281, allocations: 87.36 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4281, allocations: 4.406 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4282, allocations: 1.25 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4282, allocations: 0.9375 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.4283, allocations: 13.06 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4283, allocations: 1.125 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.4283, allocations: 2.312 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4284, allocations: 2.344 kB / 0.5363 GB, free: 9.125 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.0001181/0.4285, allocations: 133.9 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4285, allocations: 13.41 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.4286, allocations: 17.61 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4286, allocations: 0 / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4286, allocations: 1.094 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4286, allocations: 0 / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4288, allocations: 189.3 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4288, allocations: 7.875 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.4289, allocations: 7.234 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4289, allocations: 5.125 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4289, allocations: 1.094 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4289, allocations: 0 / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4289, allocations: 1.156 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.4292, allocations: 109.4 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.4292, allocations: 84.36 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.4293, allocations: 1.125 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.4293, allocations: 1.156 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4293, allocations: 10.36 kB / 0.5369 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4294, allocations: 6.25 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.4295, allocations: 151.8 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4296, allocations: 1.125 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4298, allocations: 24.31 kB / 0.5371 GB, free: 8.41 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.001147/0.4309, allocations: 410.3 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4311, allocations: 39.17 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4312, allocations: 4.062 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.4312, allocations: 24.23 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.4315, allocations: 30.72 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4321, allocations: 198.8 kB / 0.5377 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4325, allocations: 0.7005 MB / 0.5384 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.4326, allocations: 23.56 kB / 0.5385 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.4326, allocations: 18.58 kB / 0.5385 GB, free: 7.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4326, allocations: 0 / 0.5385 GB, free: 7.258 MB / 398.1 MB Notification: Performance of Templates: time 0.004428/0.4371, allocations: 1.536 MB / 0.54 GB, free: 6.465 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