Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001355/0.001355, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001528/0.001528, allocations: 161.4 kB / 24.56 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.9732/0.9732, allocations: 177.2 MB / 205 MB, free: 5.27 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.2783/0.2783, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.181e-05, allocations: 2.312 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002318/0.00235, allocations: 1.642 MB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003584, allocations: 1.282 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.003646, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.003915, allocations: 31.78 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.00422, allocations: 79.56 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.004441, allocations: 115.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004588, allocations: 71.77 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.004687, allocations: 11.94 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.004755, allocations: 43.83 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.00485, allocations: 19.92 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.004867, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.004991, allocations: 91.88 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.005039, allocations: 15.92 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.005069, allocations: 15.98 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.005274, allocations: 135.5 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005276, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.005276, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005281, 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.0004521/0.005733, allocations: 428 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.005775, allocations: 12.03 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.005824, allocations: 8.891 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.005991, allocations: 140.5 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.006001, allocations: 384 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.006029, allocations: 4.312 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.006169, allocations: 112 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006177, allocations: 192 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006188, allocations: 4.125 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006195, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.006224, allocations: 11.98 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.006509, allocations: 275.8 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.00667, allocations: 42.98 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.006694, allocations: 11.69 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.006715, allocations: 7.938 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.006738, allocations: 37.39 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.00674, allocations: 3.984 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003733/0.007113, allocations: 105.5 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.007155, allocations: 85.11 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.007276, allocations: 190.7 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.007288, allocations: 25.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.007341, allocations: 146.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.007361, allocations: 19.86 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.007389, allocations: 19.38 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.007505, allocations: 0.4923 MB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.007523, allocations: 8 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.007559, allocations: 53.06 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.007595, allocations: 27.62 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007596, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.117e-05/0.007677, allocations: 61.62 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.007688, allocations: 4 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007692, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.00771, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.007753, allocations: 11.98 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.007759, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.007778, allocations: 3.984 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007785, allocations: 8 kB / 383.9 MB, free: 12.5 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.548e-05/0.00785, allocations: 160.5 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.007871, allocations: 11.89 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007986, allocations: 74.06 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007988, allocations: 3.938 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.007991, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007995, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.008232, allocations: 329.7 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008235, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.008262, allocations: 15.98 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.008265, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008272, allocations: 4 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008273, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.008273, allocations: 4 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.008375, allocations: 207.8 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.008385, allocations: 11.95 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.008398, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.008431, allocations: 3.984 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.008462, allocations: 4 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.008465, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.008526, allocations: 161.5 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008526, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.008713, allocations: 35.88 kB / 384.9 MB, free: 11.42 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.001021/0.009734, allocations: 482.4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.009839, allocations: 31.67 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009841, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.009866, allocations: 23.62 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01007, allocations: 24.47 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.0104, allocations: 177.9 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01044, allocations: 63.34 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.01049, allocations: 19.97 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.01052, allocations: 12.5 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01052, allocations: 4 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.00352/0.01404, allocations: 1.844 MB / 387.6 MB, free: 8.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.2137249521911144]