Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001953/0.001953, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002112/0.002112, allocations: 169.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.682/1.682, 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.4172/0.4172, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.22e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003299/0.003331, allocations: 1.691 MB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.005327, allocations: 0.9743 MB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.005403, allocations: 7.938 kB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.005727, allocations: 43.83 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.006075, allocations: 99.52 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.006284, allocations: 79.61 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.00649, allocations: 107.6 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.006537, allocations: 8.172 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.00667, allocations: 55.83 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.006764, allocations: 27.84 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.006789, allocations: 4 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.006881, allocations: 24 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.00696, allocations: 31.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.007019, allocations: 23.86 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.007278, allocations: 115.6 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007281, allocations: 0 / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007281, allocations: 0 / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.007286, allocations: 4 kB / 378.6 MB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007752/0.008062, allocations: 483.3 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.008102, allocations: 8.031 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.008181, allocations: 16.84 kB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.008461, allocations: 161.3 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.008479, allocations: 4.375 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.008491, allocations: 384 / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.008628, allocations: 46.23 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.008643, allocations: 7.875 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.008655, allocations: 8 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.008659, allocations: 4 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.008728, allocations: 11.98 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.009138, allocations: 164.6 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.009325, allocations: 59.09 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.009382, allocations: 19.69 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.0094, allocations: 3.984 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.009569, allocations: 76.98 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.009571, allocations: 0 / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003056/0.009876, allocations: 97.52 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.009927, allocations: 59.41 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.01027, allocations: 294.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.0103, allocations: 33.69 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01042, allocations: 166.9 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.01046, allocations: 15.91 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.01052, allocations: 27.38 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.0108, allocations: 0.504 MB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.01085, allocations: 15.92 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.01092, allocations: 35.36 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01103, allocations: 43.38 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01104, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000173/0.01121, allocations: 85.53 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01122, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01123, allocations: 3.938 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01124, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.01132, allocations: 11.98 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01133, allocations: 0 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.01138, allocations: 7.938 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01139, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001444/0.01153, allocations: 168.5 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.01156, allocations: 19.89 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.01179, allocations: 94.77 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0118, allocations: 384 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.0118, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.0118, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.01203, allocations: 180.5 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01203, allocations: 0 / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.01206, allocations: 4 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01206, allocations: 0 / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.01207, allocations: 0 / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01208, allocations: 7.938 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.01208, allocations: 7.984 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01232, allocations: 128.2 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.01234, allocations: 15.94 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01237, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.0124, allocations: 3.938 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01245, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.01247, allocations: 7.984 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.01268, allocations: 204.5 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01268, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.01291, allocations: 16 kB / 381.9 MB, free: 13.99 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003055/0.01596, allocations: 441.4 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.01616, allocations: 47.61 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01616, allocations: 4 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01624, allocations: 27.67 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.01655, allocations: 43.62 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.01712, allocations: 246.5 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01724, allocations: 109.8 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.01729, allocations: 16.47 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01732, allocations: 12.5 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01732, allocations: 0 / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Templates: time 0.005499/0.02282, allocations: 1.65 MB / 384.5 MB, free: 11.55 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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: 5.384161316091195]