Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001089/0.001089, 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.001035/0.001035, allocations: 161 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 0.9418/0.9418, allocations: 177.1 MB / 205 MB, free: 5.625 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.2683/0.2683, allocations: 34.26 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.795e-05, allocations: 2.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002304/0.002332, allocations: 1.662 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.003074, allocations: 0.5569 MB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.003126, allocations: 0 / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.003572, allocations: 455 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.003913, allocations: 299.1 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.004201, allocations: 163.6 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.004388, allocations: 179.5 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.004476, allocations: 12 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.965e-05/0.004576, allocations: 119.8 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.004762, allocations: 243.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004781, allocations: 7.984 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.004842, allocations: 23.94 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.004924, allocations: 83.7 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.004973, allocations: 35.75 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.005181, allocations: 203.1 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005183, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005184, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.005189, allocations: 0 / 382.1 MB, free: 14.6 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.0005292/0.005718, allocations: 0.6854 MB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005754, allocations: 8.031 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.005812, allocations: 48.66 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.006003, allocations: 244.9 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.006012, allocations: 4.375 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.006023, allocations: 4.312 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.006149, allocations: 66.94 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006157, allocations: 192 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006167, allocations: 4.125 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006173, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.006199, allocations: 4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.006607, allocations: 431.6 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.006676, allocations: 42.98 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.006701, allocations: 11.69 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.006727, allocations: 7.938 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.00675, allocations: 33.39 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/0.006753, allocations: 7.984 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001719/0.006925, allocations: 85.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.006952, allocations: 59.34 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.007336, allocations: 0.6316 MB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.007347, allocations: 29.7 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.007478, allocations: 278.8 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.007495, allocations: 11.91 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.007529, allocations: 27.3 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.007675, allocations: 0.547 MB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.007693, allocations: 8 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.007704, allocations: 7.984 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.007734, allocations: 15.69 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007735, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.478e-05/0.00782, allocations: 97.28 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.007836, allocations: 8 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.00784, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.007855, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.007925, allocations: 7.984 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.007931, allocations: 4 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.007956, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007961, allocations: 0 / 385.4 MB, free: 11 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 (3): * Single equations (assignments): 3 * 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 7.144e-05/0.008033, allocations: 164.6 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.008065, allocations: 47.66 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.008184, allocations: 77.14 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008186, allocations: 0 / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.008189, allocations: 4 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008192, allocations: 3.984 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.008393, allocations: 280.5 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008394, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.008422, allocations: 8 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008424, allocations: 3.938 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.00843, allocations: 4 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008431, allocations: 0 / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008432, allocations: 0 / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008546, allocations: 235.6 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.008571, allocations: 35.66 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.008587, allocations: 3.938 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.008623, allocations: 4 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.008639, allocations: 4.422 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008644, allocations: 7.984 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.008892, allocations: 422.8 kB / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008892, allocations: 4 kB / 386.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.009052, allocations: 23.92 kB / 386.7 MB, free: 9.621 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 (3): * Single equations (assignments): 3 * 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.0006942/0.009746, allocations: 341.7 kB / 387.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.009837, allocations: 19.67 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009838, allocations: 4 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.009855, allocations: 19.67 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.0101, allocations: 30.38 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.01074, allocations: 0.5884 MB / 387.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.01081, allocations: 119.2 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.01084, allocations: 11.98 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.01087, allocations: 12.5 kB / 387.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01087, allocations: 0 / 387.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of Templates: time 0.003586/0.01446, allocations: 1.202 MB / 389.1 MB, free: 7.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.1738166380673647]