Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001464/0.001464, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001607/0.001607, allocations: 161.7 kB / 24.27 MB, free: 172 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.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3617/0.3617, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.056e-05, allocations: 6.25 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003424/0.003455, allocations: 1.623 MB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004605, allocations: 0.522 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.004656, allocations: 0 / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.004947, allocations: 75.64 kB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.005313, allocations: 99.59 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.005656, allocations: 95.62 kB / 377.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.005897, allocations: 87.73 kB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.006027, allocations: 8 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.006147, allocations: 47.83 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.006291, allocations: 43.89 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.006315, allocations: 4 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.006448, allocations: 47.91 kB / 377.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.006524, allocations: 19.92 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.006569, allocations: 15.94 kB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.006834, allocations: 107.6 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.00684, allocations: 0 / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.006843, allocations: 0 / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.006849, allocations: 4 kB / 378.1 MB, free: 2.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006806/0.007529, allocations: 333.6 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.007573, allocations: 12.03 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.007636, allocations: 12.88 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.007863, allocations: 145.6 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.007874, allocations: 384 / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.007903, allocations: 8.375 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.00811, allocations: 54.23 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.008127, allocations: 192 / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.008146, allocations: 4.125 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.008152, allocations: 0 / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.008264, allocations: 27.92 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.008681, allocations: 232.5 kB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.008812, allocations: 42.56 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.008871, allocations: 20.88 kB / 378.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.008893, allocations: 4 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.008932, allocations: 38.5 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.008933, allocations: 0 / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001008/0.009941, allocations: 225.1 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.00999, allocations: 55.41 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.01025, allocations: 207.3 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.01027, allocations: 25.7 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.01036, allocations: 108.1 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.0104, allocations: 23.78 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.01045, allocations: 21.72 kB / 379.6 MB, free: 440 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.01064, allocations: 326.8 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.01073, allocations: 23.98 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.0108, allocations: 23.98 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01101, allocations: 77.09 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01101, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002404/0.01125, allocations: 105.5 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.01127, allocations: 8 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01127, allocations: 0 / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01129, allocations: 0 / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.0114, allocations: 15.98 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01141, allocations: 0 / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.01145, allocations: 8 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.01147, allocations: 7.984 kB / 380.2 MB, free: 15.83 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 (8): * Single equations (assignments): 8 * 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.000125/0.01159, allocations: 129.7 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01163, allocations: 12.38 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.01194, allocations: 115.1 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01194, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.01195, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01195, allocations: 3.984 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.01251, allocations: 346.9 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01251, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.01259, allocations: 19.98 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01259, allocations: 3.938 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.0126, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.0126, allocations: 4 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0126, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.01293, allocations: 204.2 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.01295, allocations: 15.92 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01297, allocations: 11.98 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01305, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01309, allocations: 11.92 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01309, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.01326, allocations: 151.9 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01326, allocations: 3.938 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.01352, allocations: 23.94 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002246/0.01577, allocations: 486.1 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.016, allocations: 63.94 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.016, allocations: 0 / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.0161, allocations: 39.92 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.01649, allocations: 22.8 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.01707, allocations: 253.4 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.01719, allocations: 88.25 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.01724, allocations: 16.78 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.01728, allocations: 16.5 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01728, allocations: 3.938 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Templates: time 0.005394/0.02268, allocations: 1.395 MB / 383.6 MB, free: 12.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.919413117924705]