Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001471/0.001471, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001002/0.001002, allocations: 173.8 kB / 24.91 MB, free: 9.195 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.9635/0.9635, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.273/0.273, allocations: 34.27 MB / 296.1 MB, free: 0.6602 MB / 266.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.CombiTable1Dv.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.472e-05, allocations: 3.516 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002316/0.00234, allocations: 1.686 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007231/0.003063, allocations: 0.5374 MB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.003114, allocations: 0 / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.00331, allocations: 27.84 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.003504, allocations: 75.56 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.00371, allocations: 115.6 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.00383, allocations: 71.72 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.003903, allocations: 7.984 kB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.003958, allocations: 35.91 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.004014, allocations: 19.92 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.004025, allocations: 0 / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.004085, allocations: 35.98 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.00412, allocations: 7.938 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.00414, allocations: 11.98 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.004266, allocations: 83.55 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.004267, allocations: 0 / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004268, allocations: 4 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.004271, allocations: 0 / 328 MB, free: 4.879 MB / 298.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.0002739/0.004545, allocations: 281.9 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.004574, allocations: 12.03 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.004601, allocations: 8.922 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.004725, allocations: 140.2 kB / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.004732, allocations: 384 / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.004748, allocations: 384 / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.004834, allocations: 62.89 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004843, allocations: 192 / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00485, allocations: 4.125 kB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004854, allocations: 0 / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.004875, allocations: 7.984 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.005077, allocations: 163.6 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.005194, allocations: 37.33 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.005211, allocations: 12.92 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.005225, allocations: 0 / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.005243, allocations: 30.56 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.005244, allocations: 0 / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002463/0.00549, allocations: 85.58 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.005517, allocations: 51.41 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.005607, allocations: 163.2 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.005616, allocations: 29.64 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.005649, allocations: 96.11 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.005667, allocations: 11.91 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.005695, allocations: 21.7 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.005773, allocations: 322.8 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005783, allocations: 0 / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.005793, allocations: 8.062 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.005822, allocations: 23.67 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005822, allocations: 0 / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.345e-05/0.005886, allocations: 53.56 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005898, allocations: 8 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005902, allocations: 4 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005912, allocations: 0 / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.005951, allocations: 11.98 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005953, allocations: 0 / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.005969, allocations: 4 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.005973, allocations: 0 / 329.6 MB, free: 3.102 MB / 298.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 5.341e-05/0.006026, allocations: 116.7 kB / 329.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.006045, allocations: 11.94 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.006128, allocations: 58.36 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006129, allocations: 0 / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006131, allocations: 4 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006134, allocations: 3.984 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.006312, allocations: 222.7 kB / 330 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.006313, allocations: 0 / 330 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.006341, allocations: 20.23 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006343, allocations: 0 / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.006348, allocations: 4 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006348, allocations: 0 / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.006351, allocations: 4 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.00642, allocations: 139.5 kB / 330.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.006427, allocations: 3.953 kB / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006437, allocations: 11.98 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.00647, allocations: 4 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.006491, allocations: 4 kB / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.006493, allocations: 3.938 kB / 330.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.006522, allocations: 38.64 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006522, allocations: 0 / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001299/0.006652, allocations: 23.88 kB / 330.3 MB, free: 2.383 MB / 298.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.0009999/0.007652, allocations: 0.5007 MB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.007725, allocations: 32.78 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.007728, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.007746, allocations: 16.8 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007905, allocations: 19.36 kB / 330.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.008152, allocations: 171.2 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.008185, allocations: 63.34 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.008214, allocations: 15.97 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.008259, allocations: 59.38 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008259, allocations: 0 / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of Templates: time 0.00256/0.01082, allocations: 1.252 MB / 332.4 MB, free: 480 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.767907040193677]