Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001112/0.001112, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001272/0.001272, allocations: 165 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.9924/0.9924, allocations: 177.2 MB / 205 MB, free: 5.59 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.2731/0.2731, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.813e-05, allocations: 5.547 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002546/0.002584, allocations: 1.697 MB / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.003475, allocations: 0.5647 MB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.003551, allocations: 0 / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.004042, allocations: 459.1 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.004453, allocations: 299.1 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.004796, allocations: 171.5 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.004997, allocations: 179.6 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.005062, allocations: 15.98 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.005166, allocations: 119.8 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.005344, allocations: 243.5 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005357, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.005424, allocations: 43.91 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.005498, allocations: 83.72 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.005535, allocations: 43.67 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005721, allocations: 191.2 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005723, allocations: 0 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005724, allocations: 0 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005729, allocations: 0 / 382.1 MB, free: 14.53 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.0004838/0.006213, allocations: 0.697 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.006246, allocations: 8.031 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.006299, allocations: 44.66 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006467, allocations: 256.8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.006473, allocations: 4.375 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.006487, allocations: 8.312 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.006566, allocations: 54.95 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.006573, allocations: 4.172 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.00658, allocations: 4.125 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.006584, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.006611, allocations: 11.94 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.006978, allocations: 431.6 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.007106, allocations: 46.98 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.007125, allocations: 15.62 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.007141, allocations: 4 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.007158, allocations: 33.39 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.007158, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003/0.007458, allocations: 200.7 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.007491, allocations: 51.41 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.007968, allocations: 0.6277 MB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.007985, allocations: 29.7 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.00813, allocations: 282.8 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.008148, allocations: 15.8 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.008183, allocations: 31.38 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005381/0.008721, allocations: 0.5547 MB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.00874, allocations: 4 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.008755, allocations: 4.188 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.008793, allocations: 31.61 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008794, allocations: 4 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.72e-05/0.008892, allocations: 93.36 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.008912, allocations: 9.703 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.008918, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.008936, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.008983, allocations: 8 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.008991, allocations: 4 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.009018, allocations: 4 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.009026, allocations: 7.969 kB / 385.7 MB, free: 10.77 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 9.277e-05/0.009119, allocations: 160.5 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.009157, allocations: 43.72 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.009329, allocations: 97.17 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.009332, allocations: 0 / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.009337, allocations: 3.938 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.009342, allocations: 0 / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.009717, allocations: 473.3 kB / 386.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009718, allocations: 0 / 386.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.009746, allocations: 15.92 kB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.009749, allocations: 0 / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.009757, allocations: 192 / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.00976, allocations: 4 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009761, allocations: 0 / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.009908, allocations: 247.6 kB / 386.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.009934, allocations: 35.67 kB / 386.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.009953, allocations: 3.984 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.00999, allocations: 8 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.01003, allocations: 4 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.01003, allocations: 4 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003019/0.01034, allocations: 426.8 kB / 387.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 0 / 387.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01052, allocations: 24 kB / 387.2 MB, free: 9.168 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.0009774/0.0115, allocations: 394.9 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.01164, allocations: 31.67 kB / 387.6 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01164, allocations: 0 / 387.6 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.01167, allocations: 19.67 kB / 387.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01198, allocations: 29.94 kB / 387.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.01274, allocations: 0.5809 MB / 388.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.197e-05/0.01282, allocations: 123.2 kB / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.01286, allocations: 19.97 kB / 388.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.0129, allocations: 16.5 kB / 388.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0129, allocations: 0 / 388.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of Templates: time 0.004588/0.01749, allocations: 1.473 MB / 389.9 MB, free: 6.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.088988784234971]