Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.00269/0.00269, allocations: 83.58 kB / 21.19 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.001079/0.001079, allocations: 165 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 1.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.257/0.257, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.828e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002847/0.002875, allocations: 1.638 MB / 377.7 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.003726, allocations: 0.5297 MB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.003805, allocations: 0 / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.00408, allocations: 27.8 kB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.004419, allocations: 87.55 kB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.004701, allocations: 87.69 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.004863, allocations: 71.78 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004969, allocations: 11.98 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.005034, allocations: 23.92 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.005093, allocations: 19.91 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.005109, allocations: 4 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.005191, allocations: 35.92 kB / 378.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.005244, allocations: 11.94 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.005276, allocations: 15.91 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005465, allocations: 75.69 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005469, allocations: 0 / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.00547, allocations: 0 / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005475, allocations: 4 kB / 378.7 MB, free: 1.996 MB / 346.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.0004076/0.005883, allocations: 424 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.00592, allocations: 8.031 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.005964, allocations: 12.88 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.006099, allocations: 137.1 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006113, allocations: 4.375 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.006138, allocations: 384 / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.006262, allocations: 66.62 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.006274, allocations: 0 / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.006286, allocations: 0 / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.006295, allocations: 4 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.006327, allocations: 8 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.006613, allocations: 279.7 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.006774, allocations: 50.92 kB / 379.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.006798, allocations: 7.688 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.006817, allocations: 4 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.006838, allocations: 33.39 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.006839, allocations: 0 / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003421/0.007181, allocations: 101.5 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.00722, allocations: 55.41 kB / 379.8 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.007362, allocations: 220.8 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.007375, allocations: 25.7 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.007438, allocations: 150.8 kB / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.007457, allocations: 15.83 kB / 380.2 MB, free: 252 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.007488, allocations: 23.38 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.00763, allocations: 0.4961 MB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.007649, allocations: 8 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.007662, allocations: 4 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.007702, allocations: 27.86 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.007705, allocations: 7.938 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.978e-05/0.007774, allocations: 61.59 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007788, allocations: 7.984 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007792, allocations: 0 / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007803, allocations: 0 / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.007842, allocations: 16 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007848, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.007866, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.007873, allocations: 7.984 kB / 380.9 MB, free: 15.56 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.924e-05/0.007942, allocations: 156.5 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.007966, allocations: 15.91 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.008086, allocations: 74.08 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.008087, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008091, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.008093, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.008335, allocations: 321.4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.008338, allocations: 11.92 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.008364, allocations: 8 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.008365, allocations: 0 / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.008376, allocations: 4 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008377, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.008378, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.008483, allocations: 212.1 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.008494, allocations: 12.23 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.008505, allocations: 7.984 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.008536, allocations: 0 / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.00858, allocations: 7.984 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.008583, allocations: 0 / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.008652, allocations: 161.6 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008652, allocations: 3.938 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.008821, allocations: 15.94 kB / 381.9 MB, free: 14.49 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.0009869/0.009808, allocations: 383.7 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.009925, allocations: 27.67 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009927, allocations: 4 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.00996, allocations: 23.61 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.0102, allocations: 26.47 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.01059, allocations: 178.3 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.01064, allocations: 63.34 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.01067, allocations: 7.984 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.0107, allocations: 20.5 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.452e-06/0.0107, allocations: 0 / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of Templates: time 0.003799/0.0145, allocations: 1.245 MB / 383.9 MB, free: 12.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.0426398469135165]