Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.0009871/0.0009871, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00111/0.00111, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9325/0.9325, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.144/0.144, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test35,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.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,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.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.64e-05, allocations: 10.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.001665/0.001681, allocations: 1.626 MB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.002588, allocations: 1.258 MB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.002633, allocations: 7.938 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.002785, allocations: 35.77 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.002976, allocations: 83.56 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.003123, allocations: 83.7 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.003221, allocations: 79.75 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.003287, allocations: 11.8 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.003331, allocations: 35.91 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.003407, allocations: 23.91 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.003418, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.003519, allocations: 91.81 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.00355, allocations: 19.92 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.003568, allocations: 11.94 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.00371, allocations: 131.5 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003711, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003712, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003715, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.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.0002334/0.003949, allocations: 431.9 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.003975, allocations: 12.03 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.004001, allocations: 8.891 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.004086, allocations: 132.5 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.004093, allocations: 4.375 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.004105, allocations: 8.375 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.00418, allocations: 100 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004187, allocations: 4.125 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004193, allocations: 8.125 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.004197, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.004214, allocations: 7.938 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.004363, allocations: 256.4 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.004463, allocations: 39.05 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.004475, allocations: 7.688 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.004485, allocations: 8 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.004499, allocations: 45.27 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004499, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.004709, allocations: 97.56 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.004727, allocations: 81.11 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.00479, allocations: 189.9 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.004795, allocations: 25.7 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.004819, allocations: 146.9 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.004831, allocations: 15.84 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.004854, allocations: 23.38 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.004889, allocations: 0.4923 MB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.004898, allocations: 8 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.004918, allocations: 49.06 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.004942, allocations: 23.69 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.004943, allocations: 192 / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.203e-05/0.004995, allocations: 65.52 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.005005, allocations: 6.188 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005009, allocations: 4 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.005015, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.005047, allocations: 8 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.005049, allocations: 3.984 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.005068, allocations: 8.031 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.005071, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.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 3.682e-05/0.005108, allocations: 160.6 kB / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.005129, allocations: 16.17 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.0052, allocations: 74 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005202, allocations: 3.984 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.005203, allocations: 0 / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005206, allocations: 3.938 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.00536, allocations: 294 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.005362, allocations: 0 / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.005386, allocations: 15.98 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005388, allocations: 0 / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005392, allocations: 4 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005393, allocations: 3.938 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005393, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.687e-05/0.00545, allocations: 204.1 kB / 385.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.005457, allocations: 7.953 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.005468, allocations: 11.98 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.0055, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.005517, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.00552, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.21e-05/0.005552, allocations: 151.1 kB / 386 MB, free: 16.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005552, allocations: 0 / 386 MB, free: 16.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.005732, allocations: 35.92 kB / 386.1 MB, free: 16.31 MB / 314.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.0008466/0.006579, allocations: 487.8 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.427e-05/0.006643, allocations: 35.61 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006644, allocations: 0 / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.006661, allocations: 19.67 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.006839, allocations: 26.75 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.007036, allocations: 160.1 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.981e-05/0.007056, allocations: 63.2 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.007087, allocations: 16 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.007135, allocations: 90.17 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of SimCode: time 4e-07/0.007135, allocations: 0 / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of Templates: time 0.002818/0.009954, allocations: 2.024 MB / 389 MB, free: 13.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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: 2.9966781311668456]