Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009733/0.0009733, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3036/0.3036, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.169e-05, allocations: 6.25 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.005934/0.005966, allocations: 1.714 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.007226, allocations: 0.9969 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.007322, allocations: 4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.008756, allocations: 67.66 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.009165, allocations: 107.5 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.009384, allocations: 75.67 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.009582, allocations: 115.5 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.00963, allocations: 4.234 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.009726, allocations: 55.83 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.009825, allocations: 43.88 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.009842, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.009921, allocations: 35.88 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.009985, allocations: 23.91 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.01003, allocations: 23.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.01022, allocations: 79.73 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01022, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01022, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01023, allocations: 0 / 382.2 MB, free: 14.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005046/0.01073, allocations: 447.9 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.01077, allocations: 8.031 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.01083, allocations: 12.84 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.01102, allocations: 157.1 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01104, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.01105, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.01119, allocations: 58.92 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.0112, allocations: 4.188 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.01121, allocations: 384 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01122, allocations: 7.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.01125, allocations: 11.98 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.01142, allocations: 140.6 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.01154, allocations: 51.05 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.01157, allocations: 15.69 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01158, allocations: 4 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.01169, allocations: 65.05 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.01169, allocations: 0 / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001964/0.01188, allocations: 89.52 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.01192, allocations: 55.34 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01207, allocations: 234.4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.01208, allocations: 25.7 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.01214, allocations: 154.9 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.01217, allocations: 15.84 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.01221, allocations: 27.38 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01234, allocations: 0.4962 MB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.01236, allocations: 7.984 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.01241, allocations: 27.38 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.01246, allocations: 39.3 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01246, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.533e-05/0.01256, allocations: 69.64 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01257, allocations: 7.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.01258, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.01259, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.01267, allocations: 19.91 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01268, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.01271, allocations: 11.95 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.01272, allocations: 3.984 kB / 384.4 MB, free: 12.17 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 8.093e-05/0.0128, allocations: 156.6 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.01282, allocations: 16.27 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.01296, allocations: 82.83 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01297, allocations: 3.938 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01297, allocations: 3.938 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01297, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01309, allocations: 144.6 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01309, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.01312, allocations: 7.984 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01312, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01313, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01313, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01313, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.01325, allocations: 120.3 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.01327, allocations: 7.953 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01328, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.01331, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.01335, allocations: 11.92 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01336, allocations: 11.92 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.01345, allocations: 167.2 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01345, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.0136, allocations: 19.94 kB / 385.2 MB, free: 11.34 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.0009056/0.01451, allocations: 376.6 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01463, allocations: 39.61 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01463, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.01467, allocations: 27.62 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01488, allocations: 28.16 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.01528, allocations: 198.2 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.01532, allocations: 67.34 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.01536, allocations: 20.47 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.0154, allocations: 20.5 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0154, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003737/0.01913, allocations: 1.643 MB / 387.6 MB, free: 9.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.4003025689162314]