Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001076/0.001076, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001005/0.001005, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.289 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.2449/0.2449, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.528e-05, allocations: 2.312 kB / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00248/0.002505, allocations: 1.677 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.003409, allocations: 0.5493 MB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.003484, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.003855, allocations: 99.59 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.004213, allocations: 111.5 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.00447, allocations: 99.62 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.004646, allocations: 99.73 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004767, allocations: 23.98 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.004846, allocations: 55.81 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004965, allocations: 59.86 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.004986, allocations: 4 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.005089, allocations: 47.92 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.005151, allocations: 27.84 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.005188, allocations: 19.94 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005374, allocations: 111.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005377, allocations: 4 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005377, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.005383, allocations: 0 / 381 MB, free: 15.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005359/0.005919, allocations: 463.8 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.005963, allocations: 8.031 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.006022, allocations: 20.78 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.006204, allocations: 156.4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.006218, allocations: 8.375 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.006241, allocations: 4.375 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.006407, allocations: 70.88 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.006422, allocations: 8.188 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006434, allocations: 4.125 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.006443, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.006494, allocations: 27.91 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.00685, allocations: 319.6 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.006936, allocations: 58.98 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.006963, allocations: 15.62 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.006987, allocations: 4 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.007013, allocations: 37.39 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.007014, allocations: 0 / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006431/0.007657, allocations: 249.8 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.007694, allocations: 59.34 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.007853, allocations: 250.7 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.007865, allocations: 29.81 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.007927, allocations: 158.8 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.00796, allocations: 47.58 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.007999, allocations: 39.36 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.008126, allocations: 0.5 MB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.008158, allocations: 19.98 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.008184, allocations: 19.98 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.008254, allocations: 51.44 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008255, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000117/0.008372, allocations: 105.6 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008385, allocations: 11.94 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008391, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.008404, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.008491, allocations: 23.98 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.008497, allocations: 0 / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.008518, allocations: 8 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.008526, allocations: 7.938 kB / 383.8 MB, free: 12.71 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 (13): * Single equations (assignments): 13 * 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.881e-05/0.008595, allocations: 160.6 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.00862, allocations: 23.84 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.008784, allocations: 123.1 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008786, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.00879, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008793, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.009148, allocations: 436.8 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009151, allocations: 4.031 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.009215, allocations: 31.92 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.009219, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.009229, allocations: 7.938 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00923, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.009232, allocations: 3.984 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.009385, allocations: 259.5 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.009397, allocations: 11.91 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009412, allocations: 3.938 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.009448, allocations: 12 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.009486, allocations: 11.98 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.009493, allocations: 4 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.009581, allocations: 193 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009581, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.009751, allocations: 23.94 kB / 385.1 MB, free: 11.35 MB / 362.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 (13): * Single equations (assignments): 13 * 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.000941/0.01069, allocations: 440.9 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.01084, allocations: 71.41 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01085, allocations: 0 / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.01089, allocations: 51.59 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01113, allocations: 28.86 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.01152, allocations: 268.7 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01157, allocations: 71.33 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.01161, allocations: 16.48 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.01164, allocations: 24.48 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01164, allocations: 4.062 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003542/0.01518, allocations: 1.672 MB / 387.7 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.2710293298587203]