Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 83.86 kB / 482 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3088, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003004/0.3119, allocations: 1.828 MB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3142, allocations: 1.692 MB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3143, allocations: 5.312 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3146, allocations: 54.44 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.315, allocations: 137.3 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.3152, allocations: 101.2 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.3155, allocations: 208.3 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.3156, allocations: 17.67 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3157, allocations: 85.61 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3159, allocations: 83.73 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.316, allocations: 9.312 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3162, allocations: 110.5 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.3163, allocations: 44.83 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.3163, allocations: 62.62 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3166, allocations: 223.2 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3167, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3167, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3167, allocations: 4 kB / 0.5363 GB, free: 10.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006909/0.3174, allocations: 0.4891 MB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3174, allocations: 9.469 kB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.3175, allocations: 20.22 kB / 0.5368 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.3178, allocations: 250.5 kB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3178, allocations: 7.031 kB / 0.537 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3179, allocations: 6.688 kB / 0.537 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3181, allocations: 107.5 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3181, allocations: 0 / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3181, allocations: 1.25 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3181, allocations: 1.156 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3182, allocations: 31.86 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.3185, allocations: 221.7 kB / 0.5374 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3188, allocations: 106 kB / 0.5375 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.3189, allocations: 45 kB / 0.5375 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3189, allocations: 9.844 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.3191, allocations: 104.6 kB / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3191, allocations: 0 / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004349/0.3196, allocations: 164.3 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.3197, allocations: 129.6 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.3199, allocations: 244 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.32, allocations: 27.39 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.3201, allocations: 115.3 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3201, allocations: 32.23 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3202, allocations: 27.77 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3203, allocations: 327.8 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.3204, allocations: 30.7 kB / 0.5387 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3205, allocations: 78.34 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3207, allocations: 90.02 kB / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3207, allocations: 1.062 kB / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002792/0.321, allocations: 149.3 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.321, allocations: 5.438 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.321, allocations: 0.8125 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.321, allocations: 1.75 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3212, allocations: 25.92 kB / 0.539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3212, allocations: 0.9688 kB / 0.539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.3213, allocations: 9.188 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3213, allocations: 7.688 kB / 0.539 GB, free: 7.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001564/0.3215, allocations: 141.4 kB / 0.5391 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3215, allocations: 20.38 kB / 0.5392 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.3216, allocations: 20.14 kB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3216, allocations: 1.312 kB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3216, allocations: 0.9688 kB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3216, allocations: 0 / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3218, allocations: 227.8 kB / 0.5394 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3218, allocations: 1.125 kB / 0.5394 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3218, allocations: 13.67 kB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3218, allocations: 1.219 kB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3219, allocations: 6.312 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3219, allocations: 9.281 kB / 0.5394 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3219, allocations: 1.094 kB / 0.5394 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3222, allocations: 167.5 kB / 0.5396 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.3223, allocations: 100.9 kB / 0.5397 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.3223, allocations: 2.188 kB / 0.5397 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3224, allocations: 15.95 kB / 0.5397 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3224, allocations: 3.656 kB / 0.5397 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3224, allocations: 9.516 kB / 0.5397 GB, free: 6.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.3226, allocations: 177.5 kB / 0.5399 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.3226, allocations: 0 / 0.5399 GB, free: 6.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3229, allocations: 53.69 kB / 0.5399 GB, free: 6.719 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001075/0.324, allocations: 494.9 kB / 0.5404 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3243, allocations: 91.64 kB / 0.5405 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3243, allocations: 3.938 kB / 0.5405 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3244, allocations: 35.45 kB / 0.5405 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3248, allocations: 66.3 kB / 0.5406 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.3253, allocations: 308.8 kB / 0.5409 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3256, allocations: 0.7189 MB / 0.5416 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.3257, allocations: 30.27 kB / 0.5416 GB, free: 5.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3257, allocations: 0 / 0.5416 GB, free: 5.391 MB / 398.1 MB Notification: Performance of Templates: time 0.005228/0.331, allocations: 3.192 MB / 0.5447 GB, free: 3.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches