Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001907/0.001907, allocations: 91.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.001963/0.001963, allocations: 165.3 kB / 24.28 MB, free: 152 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.3579/0.3579, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.512e-05, allocations: 2.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003354/0.003389, allocations: 1.619 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.005626, allocations: 1.255 MB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.005687, allocations: 0 / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.005962, allocations: 23.8 kB / 378.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.006328, allocations: 87.55 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.006609, allocations: 91.62 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.006794, allocations: 67.72 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.006898, allocations: 19.98 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.006983, allocations: 31.91 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.007121, allocations: 23.91 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.007146, allocations: 4 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.00733, allocations: 91.88 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.007392, allocations: 15.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.007432, allocations: 15.92 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.007748, allocations: 143.5 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007752, allocations: 0 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007753, allocations: 0 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007759, allocations: 0 / 378.7 MB, free: 1.496 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.000709/0.008468, allocations: 427.7 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.008507, allocations: 15.97 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.008565, allocations: 8.891 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.008786, allocations: 143.6 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.008799, allocations: 8.375 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.00882, allocations: 384 / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.009009, allocations: 87.33 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.009019, allocations: 192 / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.009034, allocations: 8.125 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.009038, allocations: 4 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.009115, allocations: 15.98 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.009528, allocations: 287.7 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.009761, allocations: 55.03 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.009813, allocations: 23.77 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.009836, allocations: 3.938 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.00987, allocations: 37.39 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.00987, allocations: 0 / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005326/0.0104, allocations: 125.4 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.01047, allocations: 89.03 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.01069, allocations: 209.8 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.01072, allocations: 29.7 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.01081, allocations: 138.9 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.01084, allocations: 15.89 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.01089, allocations: 23.38 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.01115, allocations: 0.4923 MB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.01121, allocations: 12 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.01129, allocations: 61.06 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.01141, allocations: 47.7 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01141, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.0116, allocations: 85.69 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01161, allocations: 5.719 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01162, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01163, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.01169, allocations: 15.98 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.0117, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.01174, allocations: 7.875 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.01174, allocations: 4 kB / 381.2 MB, free: 14.81 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.0001232/0.01187, allocations: 164.6 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.01191, allocations: 15.89 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.01214, allocations: 86.08 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01214, allocations: 3.938 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.01215, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01215, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.01262, allocations: 349.4 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01263, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.01268, allocations: 12 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01268, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01269, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01269, allocations: 4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0127, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.01297, allocations: 227.8 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01299, allocations: 7.953 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01301, allocations: 4.234 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01308, allocations: 12 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.01312, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.01312, allocations: 8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.01326, allocations: 155.2 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000285/0.01354, allocations: 43.86 kB / 382.3 MB, free: 13.66 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.003351/0.01689, allocations: 0.5177 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.01713, allocations: 51.59 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01713, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.01721, allocations: 31.67 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01753, allocations: 19.92 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.01807, allocations: 181.9 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01817, allocations: 75.33 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.01825, allocations: 11.92 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.0183, allocations: 16.5 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.0183, allocations: 0 / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.005904/0.0242, allocations: 1.837 MB / 385 MB, free: 11.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.838159863953479]