Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.001325, allocations: 117.6 kB / 17.78 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.001193/0.001193, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2607/0.2607, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 79.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.505, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00367/0.5087, allocations: 1.732 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.5119, allocations: 1.625 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.5121, allocations: 0 / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.5124, allocations: 37.41 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.5129, allocations: 96.41 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.5132, allocations: 90.84 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.5134, allocations: 101.6 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.5136, allocations: 11.08 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.5137, allocations: 40.55 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.5139, allocations: 50.3 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.5139, allocations: 5.875 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.5142, allocations: 110.2 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.5142, allocations: 21.39 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.5143, allocations: 43.78 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.5148, allocations: 166.9 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.5148, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5149, allocations: 1.094 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.5149, allocations: 0 / 0.5351 GB, free: 10.49 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.0007918/0.5157, allocations: 430.4 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.5157, allocations: 9.188 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.5158, allocations: 13.25 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.5162, allocations: 216 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5162, allocations: 9.156 kB / 0.5358 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.5162, allocations: 6.156 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.5164, allocations: 69.53 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5164, allocations: 1.094 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5165, allocations: 0 / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5165, allocations: 1.125 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.5166, allocations: 18.14 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.517, allocations: 290.4 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.5172, allocations: 61.03 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.5173, allocations: 21.84 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5173, allocations: 1.094 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.5175, allocations: 69.2 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.459e-06/0.5175, allocations: 0 / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005914/0.5181, allocations: 178.5 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.5183, allocations: 86.38 kB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.5185, allocations: 163.9 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5185, allocations: 30.98 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.5185, allocations: 96.2 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.5186, allocations: 32.36 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.5186, allocations: 24.5 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5188, allocations: 326 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.5189, allocations: 18.73 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.5189, allocations: 41.25 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.5191, allocations: 62.55 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5191, allocations: 9.125 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.5193, allocations: 96.09 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5193, allocations: 3.969 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5194, allocations: 1.125 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5194, allocations: 1.469 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5195, allocations: 29.05 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.5195, allocations: 5.312 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.5196, allocations: 1.469 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.5196, allocations: 3.625 kB / 0.5374 GB, free: 8.27 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.0002329/0.5199, allocations: 124.4 kB / 0.5375 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.5199, allocations: 12.27 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.52, allocations: 16.97 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.52, allocations: 1.062 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.52, allocations: 3.938 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.52, allocations: 1.25 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.5206, allocations: 396.2 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5206, allocations: 4.031 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.5207, allocations: 15.52 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5207, allocations: 0.9688 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5207, allocations: 2.219 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.5207, allocations: 1.062 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5207, allocations: 0 / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.521, allocations: 200.1 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.5211, allocations: 96.27 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.5211, allocations: 2.25 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.5212, allocations: 10.09 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.5212, allocations: 7.922 kB / 0.5383 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.5213, allocations: 2.625 kB / 0.5383 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.5214, allocations: 128 kB / 0.5384 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5214, allocations: 0 / 0.5384 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.5217, allocations: 46.05 kB / 0.5384 GB, free: 7.316 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.001353/0.5231, allocations: 0.541 MB / 0.539 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.5233, allocations: 54.52 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5233, allocations: 0 / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.5234, allocations: 33.59 kB / 0.5391 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5238, allocations: 37.42 kB / 0.5391 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.5243, allocations: 198.9 kB / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.5247, allocations: 0.6985 MB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.5248, allocations: 23.11 kB / 0.54 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.5249, allocations: 21.77 kB / 0.54 GB, free: 6.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5249, allocations: 0 / 0.54 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Templates: time 0.006484/0.5314, allocations: 2.358 MB / 0.5423 GB, free: 4.859 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches