Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0009974/0.0009974, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001229/0.001229, allocations: 164.8 kB / 24.99 MB, free: 8.25 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 4.602 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.1437/0.1437, allocations: 32.81 MB / 294.6 MB, free: 15.62 MB / 282.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 376 MB, free: 26.21 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.658e-05, allocations: 5.125 kB / 376 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002301/0.002328, allocations: 1.656 MB / 377.7 MB, free: 24.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.003092, allocations: 0.5414 MB / 378.2 MB, free: 23.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.003155, allocations: 0 / 378.2 MB, free: 23.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.003437, allocations: 111.7 kB / 378.3 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.00372, allocations: 119.5 kB / 378.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.003974, allocations: 115.6 kB / 378.6 MB, free: 23.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004133, allocations: 87.77 kB / 378.6 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004233, allocations: 15.97 kB / 378.7 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.004301, allocations: 51.89 kB / 378.7 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.004399, allocations: 63.86 kB / 378.8 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.004413, allocations: 4 kB / 378.8 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.0045, allocations: 55.84 kB / 378.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.004549, allocations: 23.92 kB / 378.8 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.00458, allocations: 19.92 kB / 378.9 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004741, allocations: 91.61 kB / 379 MB, free: 23.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004744, allocations: 0 / 379 MB, free: 23.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004745, allocations: 0 / 379 MB, free: 23.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00475, allocations: 3.984 kB / 379 MB, free: 23.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003721/0.005122, allocations: 459.8 kB / 379.4 MB, free: 22.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.005158, allocations: 15.92 kB / 379.4 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.005206, allocations: 20.84 kB / 379.4 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005343, allocations: 157.1 kB / 379.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.005353, allocations: 4.375 kB / 379.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.005373, allocations: 384 / 379.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005486, allocations: 62.94 kB / 379.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.005499, allocations: 192 / 379.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005513, allocations: 12.11 kB / 379.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.005521, allocations: 0 / 379.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.005557, allocations: 8 kB / 379.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.005851, allocations: 307.6 kB / 380 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.46e-05/0.005916, allocations: 47.05 kB / 380 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.00594, allocations: 19.7 kB / 380.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.005959, allocations: 0 / 380.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005976, allocations: 37.33 kB / 380.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005977, allocations: 0 / 380.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005745/0.006552, allocations: 177.3 kB / 380.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.006575, allocations: 51.41 kB / 380.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.006713, allocations: 261 kB / 380.6 MB, free: 21.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.00672, allocations: 25.7 kB / 380.6 MB, free: 21.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.006764, allocations: 166.8 kB / 380.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.006787, allocations: 31.73 kB / 380.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.006821, allocations: 23.45 kB / 380.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.006871, allocations: 0.5079 MB / 381.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.006895, allocations: 11.97 kB / 381.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.006916, allocations: 12.06 kB / 381.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.006968, allocations: 39.61 kB / 381.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.006969, allocations: 4 kB / 381.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.007077, allocations: 73.59 kB / 381.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.007092, allocations: 9.875 kB / 381.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007096, allocations: 4 kB / 381.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.007111, allocations: 0 / 381.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.007193, allocations: 15.98 kB / 381.5 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.007198, allocations: 3.938 kB / 381.5 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.007225, allocations: 4 kB / 381.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.007231, allocations: 0 / 381.5 MB, free: 20.5 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 (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 5.257e-05/0.007284, allocations: 172.5 kB / 381.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.007315, allocations: 15.91 kB / 381.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.007465, allocations: 87.12 kB / 381.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007468, allocations: 4 kB / 381.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.007471, allocations: 4 kB / 381.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007474, allocations: 0 / 381.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.007769, allocations: 385 kB / 382.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.007771, allocations: 0 / 382.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.007817, allocations: 19.98 kB / 382.2 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00782, allocations: 4 kB / 382.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007828, allocations: 0 / 382.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007829, allocations: 3.938 kB / 382.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007831, allocations: 0 / 382.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.007937, allocations: 243.8 kB / 382.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.007948, allocations: 15.94 kB / 382.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.007963, allocations: 3.984 kB / 382.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.008018, allocations: 4 kB / 382.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.00805, allocations: 11.92 kB / 382.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008056, allocations: 4 kB / 382.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.196e-05/0.008128, allocations: 179.2 kB / 382.6 MB, free: 19.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008128, allocations: 0 / 382.6 MB, free: 19.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.008378, allocations: 27.92 kB / 382.6 MB, free: 19.25 MB / 314.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.001095/0.009473, allocations: 434.3 kB / 383.1 MB, free: 19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.009595, allocations: 39.67 kB / 383.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009597, allocations: 0 / 383.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.009632, allocations: 39.55 kB / 383.2 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.009922, allocations: 19.03 kB / 383.2 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.0103, allocations: 249.4 kB / 383.4 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.01033, allocations: 71.33 kB / 383.5 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.01039, allocations: 29.06 kB / 383.5 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.01042, allocations: 12.5 kB / 383.5 MB, free: 18.49 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01042, allocations: 4 kB / 383.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of Templates: time 0.003474/0.01389, allocations: 1.429 MB / 385 MB, free: 17.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.3206624048762023]