Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 114.9 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.001501/0.001502, allocations: 205.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.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 76.2 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5116, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003358/0.515, allocations: 1.735 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.5169, allocations: 1.021 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.517, allocations: 1.312 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.5174, allocations: 56.03 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.5179, allocations: 92.62 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.5182, allocations: 79.89 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.5184, allocations: 105.1 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5186, allocations: 14.88 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.5187, allocations: 38.91 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.5188, allocations: 37.36 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.5189, allocations: 8.109 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.519, allocations: 40.86 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.5191, allocations: 20.17 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.5192, allocations: 39.94 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.5195, allocations: 134.7 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5195, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.452e-06/0.5195, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.5195, allocations: 9.312 kB / 0.5344 GB, free: 11.02 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.0009814/0.5205, allocations: 439.4 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.5206, allocations: 9.625 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.5207, allocations: 10.39 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.5211, allocations: 219.6 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5211, allocations: 1.75 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.5212, allocations: 6.875 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5214, allocations: 58.05 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5214, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5214, allocations: 1.375 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5214, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.5215, allocations: 30.91 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.522, allocations: 297.6 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5222, allocations: 61.92 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.5223, allocations: 17.11 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5223, allocations: 1.375 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.5225, allocations: 68.52 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5225, allocations: 0 / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006906/0.5232, allocations: 176.3 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5233, allocations: 56.53 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.5236, allocations: 240 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5236, allocations: 34.73 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.5237, allocations: 110.3 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.5238, allocations: 23.91 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.5238, allocations: 20.78 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.524, allocations: 334.9 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.5241, allocations: 15.56 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.5242, allocations: 39.39 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.5243, allocations: 70.91 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5243, allocations: 0 / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.5245, allocations: 104.7 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5246, allocations: 4.562 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5246, allocations: 1.031 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5246, allocations: 5.344 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.5247, allocations: 17.52 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5247, allocations: 5.094 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.5248, allocations: 6.094 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5248, allocations: 2.188 kB / 0.5368 GB, free: 8.797 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.0001261/0.5249, allocations: 130.9 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.525, allocations: 13.62 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.525, allocations: 20.17 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.525, allocations: 1.219 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.525, allocations: 4 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.525, allocations: 5 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.5255, allocations: 400.9 kB / 0.5373 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5256, allocations: 1.219 kB / 0.5373 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.5256, allocations: 10.91 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5256, allocations: 1.125 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5256, allocations: 6.031 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5256, allocations: 1.531 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5256, allocations: 8.016 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.5259, allocations: 201 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.526, allocations: 89.52 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.526, allocations: 5 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.5261, allocations: 6.188 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.5261, allocations: 10.89 kB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5261, allocations: 12.12 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.5263, allocations: 173.3 kB / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5263, allocations: 0 / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.5266, allocations: 25.56 kB / 0.5379 GB, free: 7.816 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.001184/0.5278, allocations: 464.2 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5281, allocations: 58.44 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5281, allocations: 0 / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.606e-05/0.5282, allocations: 33.03 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.5286, allocations: 39.62 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.5292, allocations: 262.4 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5297, allocations: 0.7103 MB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.5298, allocations: 21.5 kB / 0.5394 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.5298, allocations: 20.16 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5298, allocations: 0 / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Templates: time 0.00555/0.5354, allocations: 1.758 MB / 0.5411 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches