Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.349/0.349, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.895e-05/5.076e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003768/0.003819, allocations: 1.611 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005273, allocations: 0.5376 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.005334, allocations: 0 / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.005608, allocations: 35.77 kB / 377.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.005928, allocations: 75.62 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.00628, allocations: 107.6 kB / 377.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.006458, allocations: 71.77 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.006566, allocations: 11.98 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.006658, allocations: 35.84 kB / 377.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.006722, allocations: 15.98 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.006744, allocations: 0 / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.006833, allocations: 35.92 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.00689, allocations: 15.92 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.006945, allocations: 11.94 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.007172, allocations: 91.64 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.007176, allocations: 0 / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007177, allocations: 0 / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.007182, allocations: 4 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006715/0.007854, allocations: 423.7 kB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.007905, allocations: 8.031 kB / 378.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.007964, allocations: 12.89 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.008185, allocations: 144.2 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.008196, allocations: 384 / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.008216, allocations: 384 / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.008364, allocations: 53.98 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.008376, allocations: 0 / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.008385, allocations: 0 / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.008389, allocations: 0 / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.008482, allocations: 27.91 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.008971, allocations: 291.8 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.009218, allocations: 50.98 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.009272, allocations: 15.69 kB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.009294, allocations: 4 kB / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.00933, allocations: 37.33 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009331, allocations: 0 / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005882/0.009919, allocations: 125.5 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003698/0.01029, allocations: 59.34 kB / 379.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.01053, allocations: 221.9 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01055, allocations: 29.7 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01068, allocations: 154.8 kB / 379.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.01071, allocations: 15.91 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.01078, allocations: 23.38 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003344/0.01111, allocations: 0.5 MB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.01117, allocations: 11.98 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.01122, allocations: 16 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01135, allocations: 47.66 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01135, allocations: 0 / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.01153, allocations: 73.77 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01155, allocations: 4 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.01156, allocations: 4.062 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01158, allocations: 0 / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.01164, allocations: 11.98 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.01165, allocations: 4 kB / 380.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.01169, allocations: 3.938 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.0117, allocations: 4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001388/0.01184, allocations: 164.5 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.01188, allocations: 15.91 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.01214, allocations: 82.06 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01214, allocations: 4 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01215, allocations: 0 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01215, allocations: 0 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.01266, allocations: 345.4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01266, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.01271, allocations: 12 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01272, allocations: 4 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01273, allocations: 4 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01273, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01273, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01301, allocations: 227.8 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.01303, allocations: 3.953 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.01305, allocations: 7.984 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.01311, allocations: 4 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.01316, allocations: 4.188 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.01316, allocations: 8 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.01331, allocations: 171.1 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01331, allocations: 3.938 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01356, allocations: 15.94 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.003042/0.0166, allocations: 429.5 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.01683, allocations: 51.59 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.01684, allocations: 4 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.01692, allocations: 31.67 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.01725, allocations: 15.98 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.0178, allocations: 198.2 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01791, allocations: 79.56 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.01797, allocations: 23.95 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.01802, allocations: 20.44 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01802, allocations: 0 / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005022/0.02304, allocations: 1.178 MB / 383.3 MB, free: 12.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.901629077037796]