Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0009758/0.0009758, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009884/0.0009884, allocations: 161 kB / 24.56 MB, free: 8 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.9618/0.9618, allocations: 177.1 MB / 205 MB, free: 5.598 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.2405/0.2405, allocations: 34.25 MB / 295.7 MB, free: 0.7344 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.832e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002265/0.002294, allocations: 1.704 MB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.003067, allocations: 0.5686 MB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.003116, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.003563, allocations: 463 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.003919, allocations: 299.1 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.004225, allocations: 175.4 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004414, allocations: 179.7 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.004503, allocations: 16 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.004607, allocations: 123.8 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.004791, allocations: 243.6 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.00481, allocations: 7.938 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.004884, allocations: 35.92 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.00497, allocations: 83.66 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.005022, allocations: 43.72 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.005222, allocations: 199.2 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005224, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005224, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005229, allocations: 0 / 382.2 MB, free: 14.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005405/0.005769, allocations: 0.7086 MB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.005802, allocations: 12.03 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.005857, allocations: 44.66 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.006035, allocations: 244.9 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.006046, allocations: 4.375 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006065, allocations: 4.375 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.006173, allocations: 70.92 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.006181, allocations: 192 / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006192, allocations: 4.125 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006198, allocations: 0 / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.006231, allocations: 11.94 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.006597, allocations: 439.6 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.006682, allocations: 35.06 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.006716, allocations: 27.69 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.006738, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.006759, allocations: 41.33 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.00676, allocations: 0 / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003791/0.007139, allocations: 208.7 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.007168, allocations: 63.39 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.007569, allocations: 0.6277 MB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.00758, allocations: 25.7 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.007716, allocations: 286.8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.007739, allocations: 23.78 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.007771, allocations: 27.45 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.007984, allocations: 0.5508 MB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.008009, allocations: 19.98 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.008027, allocations: 12.05 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.008073, allocations: 35.62 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.008074, allocations: 3.938 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.584e-05/0.00817, allocations: 105.3 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.008181, allocations: 5.719 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008185, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.008196, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.00827, allocations: 15.98 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.008278, allocations: 4 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.008309, allocations: 15.98 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.008314, allocations: 4 kB / 385.8 MB, free: 10.64 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 (7): * Single equations (assignments): 7 * 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 0.0001507/0.008465, allocations: 156.5 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.008549, allocations: 55.67 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.008792, allocations: 101.5 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008795, allocations: 4 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.008798, allocations: 0 / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008801, allocations: 0 / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/0.00935, allocations: 489.3 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009352, allocations: 0 / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.009432, allocations: 23.92 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.009437, allocations: 0 / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009445, allocations: 0 / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.009448, allocations: 4 kB / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.00945, allocations: 0 / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.009615, allocations: 260 kB / 386.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.009644, allocations: 35.72 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.009663, allocations: 0 / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.009712, allocations: 7.984 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.009751, allocations: 7.984 kB / 386.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.009757, allocations: 8 kB / 386.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.01002, allocations: 430.8 kB / 387.3 MB, free: 9.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 0 / 387.3 MB, free: 9.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.0102, allocations: 31.88 kB / 387.4 MB, free: 8.98 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 (7): * Single equations (assignments): 7 * 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.0008238/0.01102, allocations: 385.7 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.01116, allocations: 39.66 kB / 387.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01116, allocations: 0 / 387.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.01119, allocations: 31.61 kB / 387.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01146, allocations: 38 kB / 387.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.01213, allocations: 0.5888 MB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.01221, allocations: 119.2 kB / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.01226, allocations: 29 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01229, allocations: 16.5 kB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0123, allocations: 0 / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of Templates: time 0.004699/0.01699, allocations: 1.619 MB / 390.2 MB, free: 6.207 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.046560991089791]