Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001104/0.001104, allocations: 87.58 kB / 21.18 MB, free: 3.375 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.001019/0.001019, allocations: 161 kB / 24.56 MB, free: 8 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2654/0.2654, allocations: 32.8 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.837e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002793/0.002822, allocations: 1.724 MB / 377.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.003791, allocations: 0.5686 MB / 378.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.003868, allocations: 4 kB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.004434, allocations: 451.1 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.004927, allocations: 307.1 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.005363, allocations: 175.5 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.005632, allocations: 175.7 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.005741, allocations: 20.14 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.005897, allocations: 123.7 kB / 379.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.006134, allocations: 243.6 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.006156, allocations: 4 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.006274, allocations: 47.92 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.006374, allocations: 91.7 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.006427, allocations: 39.73 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.006715, allocations: 215 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.00672, allocations: 3.984 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006721, allocations: 0 / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.006726, allocations: 0 / 380.2 MB, free: 472 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006772/0.007403, allocations: 0.697 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.007444, allocations: 12.03 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.007514, allocations: 48.66 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.007748, allocations: 248.8 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.00776, allocations: 4.375 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.007787, allocations: 4.375 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.007931, allocations: 70.88 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007941, allocations: 192 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.007954, allocations: 8.125 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.007963, allocations: 3.938 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.008005, allocations: 11.98 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.008533, allocations: 435.6 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.008622, allocations: 42.98 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.00865, allocations: 15.69 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.008672, allocations: 4 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.008698, allocations: 41.42 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.0087, allocations: 0 / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006814/0.009381, allocations: 261 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.009415, allocations: 55.41 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.009955, allocations: 0.6277 MB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.009973, allocations: 25.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.01015, allocations: 282.8 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.01019, allocations: 27.75 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.01023, allocations: 35.36 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.01042, allocations: 0.5547 MB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.01045, allocations: 11.98 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.01047, allocations: 8 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.01054, allocations: 35.62 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01054, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001513/0.0107, allocations: 109.6 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01071, allocations: 7.984 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01072, allocations: 96 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01074, allocations: 3.984 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.01083, allocations: 20 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.01083, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.01087, allocations: 7.984 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01088, allocations: 4 kB / 383.9 MB, free: 12.56 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 (8): * Single equations (assignments): 8 * 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 9.616e-05/0.01097, allocations: 164.5 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.01103, allocations: 51.67 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.01124, allocations: 117.5 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01124, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01125, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01125, allocations: 4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.01178, allocations: 0.5086 MB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01179, allocations: 3.938 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.01185, allocations: 16 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01185, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01186, allocations: 7.922 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01186, allocations: 4 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01187, allocations: 3.938 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01205, allocations: 263.3 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.01209, allocations: 39.75 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01211, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.01218, allocations: 7.984 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.01222, allocations: 11.94 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.01222, allocations: 0 / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003494/0.01257, allocations: 430.8 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01257, allocations: 0 / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01284, allocations: 31.92 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001099/0.01394, allocations: 442.9 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01408, allocations: 43.67 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01408, allocations: 0 / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.01412, allocations: 27.61 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.01446, allocations: 33.08 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.01528, allocations: 0.6132 MB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01538, allocations: 123.2 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.01545, allocations: 21.03 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.01549, allocations: 16.48 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01549, allocations: 0 / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of Templates: time 0.005139/0.02063, allocations: 1.646 MB / 388.5 MB, free: 7.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2739025526680052]