Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001166/0.001166, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001143/0.001143, allocations: 166.5 kB / 24.82 MB, free: 9.266 MB / 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3327/0.3327, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.192e-05/4.439e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003667/0.003711, allocations: 1.633 MB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005668, allocations: 1.282 MB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.005779, allocations: 0 / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.006182, allocations: 31.72 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.006603, allocations: 87.55 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.006927, allocations: 103.7 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.007125, allocations: 79.75 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.007274, allocations: 15.88 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.007382, allocations: 31.91 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.007522, allocations: 27.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.007543, allocations: 4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.007727, allocations: 87.88 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.007798, allocations: 15.92 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.007831, allocations: 8 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.008111, allocations: 139.5 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.008116, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.008119, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.008126, allocations: 4 kB / 382.1 MB, free: 14.81 MB / 362.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.0006293/0.008755, allocations: 428 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.008816, allocations: 12.03 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.008873, allocations: 12.89 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.009071, allocations: 136.4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009086, allocations: 4.375 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.009114, allocations: 384 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.009304, allocations: 104 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.00932, allocations: 8.141 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.009332, allocations: 4.125 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.009339, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.009369, allocations: 7.984 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.009731, allocations: 248.3 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.009941, allocations: 43.11 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.009966, allocations: 11.69 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.01, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.01004, allocations: 45.41 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.01004, allocations: 0 / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004335/0.01047, allocations: 93.61 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.01053, allocations: 81.11 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01071, allocations: 200.2 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01072, allocations: 25.7 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.0108, allocations: 146.8 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.01083, allocations: 19.89 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.01088, allocations: 23.36 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.01107, allocations: 0.4884 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.01109, allocations: 7.984 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.01114, allocations: 49.08 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.01119, allocations: 15.69 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.01119, allocations: 192 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.01131, allocations: 77.55 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.01133, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01133, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.01136, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.01143, allocations: 11.98 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01143, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.01146, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.01146, allocations: 4 kB / 384.3 MB, free: 12.3 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 9.705e-05/0.01156, allocations: 156.6 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.01159, allocations: 15.89 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.01176, allocations: 78.06 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01176, allocations: 0 / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01177, allocations: 7.875 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01177, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.01209, allocations: 298 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01209, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.01215, allocations: 8 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.01215, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01216, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01217, allocations: 3.984 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01217, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01231, allocations: 208 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.01233, allocations: 7.953 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.01235, allocations: 8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.01238, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.01243, allocations: 7.984 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01243, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.01251, allocations: 145 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01251, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.01274, allocations: 43.86 kB / 385.3 MB, free: 11.25 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.001267/0.01401, allocations: 477.1 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.01415, allocations: 35.61 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01415, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.01418, allocations: 15.69 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01444, allocations: 34.84 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.01488, allocations: 170.1 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.01494, allocations: 66.39 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.01499, allocations: 19.92 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.01508, allocations: 86.19 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01508, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005126/0.02021, allocations: 2.034 MB / 388.2 MB, free: 8.469 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.452879802323878]