Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009906/0.0009906, allocations: 80.8 kB / 21.49 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.001136/0.001136, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2419/0.2419, allocations: 32.8 MB / 294.6 MB, free: 1.188 MB / 266.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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.878e-05, allocations: 5.859 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002369/0.002398, allocations: 1.756 MB / 325.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003629, allocations: 1.009 MB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.003708, allocations: 0 / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.003996, allocations: 51.7 kB / 326.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.004302, allocations: 107.5 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004513, allocations: 83.59 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004659, allocations: 103.7 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.004735, allocations: 12.73 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.004824, allocations: 55.78 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.004893, allocations: 23.91 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.004908, allocations: 4 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.004995, allocations: 43.92 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.005045, allocations: 31.84 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.005079, allocations: 27.92 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.005235, allocations: 107.6 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.00524, allocations: 7.984 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005241, allocations: 0 / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005244, allocations: 0 / 326.7 MB, free: 6.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003509/0.005595, allocations: 349 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.005625, allocations: 8.031 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.005655, allocations: 12.92 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005807, allocations: 158.4 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.005823, allocations: 8.375 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.005841, allocations: 384 / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005947, allocations: 69.77 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005956, allocations: 3.938 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.005963, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.005968, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.005993, allocations: 15.92 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.006192, allocations: 173.9 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.006278, allocations: 85.34 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.006297, allocations: 12.86 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.006306, allocations: 0 / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.895e-05/0.006385, allocations: 70.09 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.063e-06/0.006387, allocations: 3.984 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002712/0.006658, allocations: 109.5 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.006688, allocations: 55.41 kB / 327.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.006815, allocations: 217 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.006831, allocations: 29.7 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.006864, allocations: 100.1 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.006889, allocations: 27.77 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.006916, allocations: 17.72 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.006991, allocations: 326.8 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.007008, allocations: 18.81 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.007031, allocations: 25.7 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.007074, allocations: 52.52 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007075, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.521e-05/0.00715, allocations: 72.44 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.007161, allocations: 4 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007165, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007176, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.007236, allocations: 15.94 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007239, allocations: 8.031 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.007268, allocations: 12.3 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007274, allocations: 4 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.15e-05/0.007335, allocations: 112.7 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.007351, allocations: 19.92 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.007452, allocations: 75.08 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007456, allocations: 3.984 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.007459, allocations: 4 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007461, allocations: 0 / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.007689, allocations: 307.4 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.00769, allocations: 0 / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.007716, allocations: 11.98 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007718, allocations: 0 / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007724, allocations: 0 / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007725, allocations: 4 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007726, allocations: 0 / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.007837, allocations: 215 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.007853, allocations: 19.89 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.007868, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.00791, allocations: 12.03 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007934, allocations: 3.984 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.007946, allocations: 4 kB / 329.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.008007, allocations: 84.7 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008007, allocations: 0 / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.00816, allocations: 23.94 kB / 329.6 MB, free: 3.02 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001281/0.009441, allocations: 0.5836 MB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.009532, allocations: 40.77 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.009538, allocations: 4 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.009568, allocations: 24.84 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.009749, allocations: 35.91 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.0101, allocations: 272.2 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.01015, allocations: 71.33 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.01018, allocations: 12.97 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.01025, allocations: 71.36 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01025, allocations: 0 / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of Templates: time 0.003771/0.01402, allocations: 2.045 MB / 332.8 MB, free: 156 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.0229997276328504]