Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001842/0.001842, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001961/0.001961, allocations: 165.3 kB / 24.28 MB, free: 152 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.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3605/0.3605, allocations: 32.8 MB / 293.9 MB, free: 1.18 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.258e-06/4.258e-06, allocations: 4 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/3.132e-05, allocations: 2.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003836/0.003867, allocations: 1.615 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.00619, allocations: 1.255 MB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.006249, allocations: 0 / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.006505, allocations: 19.86 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.006835, allocations: 91.48 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.00709, allocations: 87.64 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.007279, allocations: 79.7 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.007381, allocations: 4 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.007473, allocations: 43.89 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.007606, allocations: 19.92 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.007629, allocations: 4 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.007813, allocations: 87.88 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.007878, allocations: 19.91 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.007916, allocations: 11.94 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.008227, allocations: 143.5 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.008232, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008233, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.00824, allocations: 0 / 378.7 MB, free: 1.469 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.0006195/0.00886, allocations: 435.6 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.008905, allocations: 12.03 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.008962, allocations: 12.88 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.009191, allocations: 136.4 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.009204, allocations: 4.375 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.009229, allocations: 4.375 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.009408, allocations: 87.31 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.009422, allocations: 4.188 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.009438, allocations: 8.125 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.009442, allocations: 0 / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.009528, allocations: 15.98 kB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.009942, allocations: 291.7 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01018, allocations: 47.05 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.01023, allocations: 19.69 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01025, allocations: 3.938 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.01028, allocations: 37.39 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.01029, allocations: 0 / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.01083, allocations: 133.5 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.01091, allocations: 81.11 kB / 380 MB, free: 16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.01114, allocations: 211.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.01117, allocations: 29.7 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01127, allocations: 142.9 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.01129, allocations: 11.91 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.01134, allocations: 27.36 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003433/0.01169, allocations: 0.4922 MB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.01175, allocations: 19.98 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.01184, allocations: 61.06 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.01195, allocations: 47.7 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01195, allocations: 192 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001801/0.01213, allocations: 77.58 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01215, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01215, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01217, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.01224, allocations: 15.92 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01224, allocations: 3.938 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.01228, allocations: 3.938 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.01229, allocations: 8 kB / 381.2 MB, free: 14.78 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 0.0001222/0.01241, allocations: 164.6 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.01245, allocations: 15.89 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01268, allocations: 82.09 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01268, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01269, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01269, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.01316, allocations: 353.3 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01316, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.01322, allocations: 11.98 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01322, allocations: 4 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.01323, allocations: 4 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01323, allocations: 0 / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01323, allocations: 0 / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.0135, allocations: 232 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.01351, allocations: 3.953 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.01354, allocations: 12 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.0136, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.01364, allocations: 7.984 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01365, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01378, allocations: 157.5 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01378, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00029/0.01407, allocations: 43.86 kB / 382.3 MB, free: 13.63 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.003233/0.0173, allocations: 0.5164 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.0175, allocations: 47.61 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01751, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.01758, allocations: 31.67 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.0179, allocations: 22.88 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.01835, allocations: 181.9 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.836e-05/0.01843, allocations: 75.33 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.01849, allocations: 11.98 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.01854, allocations: 16.48 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01854, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.005557/0.0241, allocations: 1.836 MB / 385 MB, free: 11.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.8931067229714245]