Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.00122/0.00122, allocations: 75.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.001304/0.001304, allocations: 161.4 kB / 24.55 MB, free: 20 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 0.9647/0.9647, allocations: 177.1 MB / 205 MB, free: 5.621 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.2722/0.2722, allocations: 34.27 MB / 295.7 MB, free: 0.6914 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.485e-05, allocations: 2.312 kB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001909/0.001924, allocations: 1.642 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003069, allocations: 1.274 MB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.003121, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.003325, allocations: 27.84 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.003586, allocations: 87.5 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.00378, allocations: 87.64 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.003908, allocations: 75.81 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.00399, allocations: 4 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.004044, allocations: 43.78 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.004129, allocations: 23.97 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.004144, allocations: 7.938 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.00426, allocations: 83.88 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.0043, allocations: 15.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.004325, allocations: 8 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.004517, allocations: 147.4 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.00452, allocations: 3.984 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004521, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.004525, allocations: 0 / 381.6 MB, free: 15.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005424/0.005067, allocations: 424 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.005102, allocations: 8.031 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.005142, allocations: 8.891 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.00527, allocations: 128.6 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.005279, allocations: 4.359 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.005301, allocations: 8.375 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.005421, allocations: 104 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005429, allocations: 192 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.00544, allocations: 12.06 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005447, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.005473, allocations: 7.984 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.005733, allocations: 279.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005881, allocations: 39 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.005902, allocations: 23.77 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.005923, allocations: 3.938 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.005944, allocations: 37.39 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005945, allocations: 4 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003212/0.006266, allocations: 105.5 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.006307, allocations: 77.11 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006422, allocations: 199.8 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.006431, allocations: 25.7 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.006478, allocations: 138.9 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.006498, allocations: 23.78 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.006526, allocations: 19.38 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.006638, allocations: 0.4923 MB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.006655, allocations: 8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.006687, allocations: 53.08 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.006722, allocations: 27.61 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006723, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.345e-05/0.006796, allocations: 57.92 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.006807, allocations: 4 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.006813, allocations: 3.984 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006825, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.006861, allocations: 8 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.006866, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.006889, allocations: 11.94 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006894, allocations: 8.016 kB / 383.9 MB, free: 12.51 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 (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 6.025e-05/0.006954, allocations: 164.5 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.006975, allocations: 11.89 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.007078, allocations: 62.14 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00708, allocations: 0 / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007083, allocations: 3.984 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007086, allocations: 4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.007311, allocations: 329.6 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007312, allocations: 0 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.007337, allocations: 8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007339, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.007348, allocations: 4 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007348, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007349, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.007445, allocations: 207.8 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.007456, allocations: 11.94 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.007473, allocations: 7.938 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.007507, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.007535, allocations: 3.984 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.007539, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.007597, allocations: 149.5 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007597, allocations: 4 kB / 384.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.007781, allocations: 43.86 kB / 384.9 MB, free: 11.43 MB / 362.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.0009267/0.008708, allocations: 481.8 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.008794, allocations: 35.62 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008795, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.008819, allocations: 23.61 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.009015, allocations: 27.84 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.009298, allocations: 169.9 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.009332, allocations: 59.34 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.009367, allocations: 8 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.009397, allocations: 24.48 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009398, allocations: 0 / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003323/0.01272, allocations: 1.832 MB / 387.5 MB, free: 8.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.252148327883333]