Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009285/0.0009285, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001162/0.001162, allocations: 175.6 kB / 24.92 MB, free: 8.77 MB / 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 0.9779/0.9779, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2779/0.2779, allocations: 34.27 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 325.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.679e-05, allocations: 4.5 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005358/0.005375, allocations: 1.765 MB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.006742, allocations: 1.002 MB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.006809, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.007058, allocations: 47.7 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.007333, allocations: 99.47 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.01053, allocations: 79.59 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.01068, allocations: 107.7 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.01074, allocations: 7.938 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.01083, allocations: 59.81 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.01089, allocations: 23.92 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.01091, allocations: 4 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.01099, allocations: 51.91 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.01103, allocations: 19.92 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.01106, allocations: 24.36 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.01122, allocations: 103.6 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.01122, allocations: 0 / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01122, allocations: 0 / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.01122, allocations: 0 / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003465/0.01157, allocations: 321.5 kB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.0116, allocations: 12.03 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.01163, allocations: 4.938 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.01177, allocations: 162.5 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.01179, allocations: 384 / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.0118, allocations: 4.375 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.0119, allocations: 65.7 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01191, allocations: 3.938 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.01192, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01192, allocations: 4 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.01195, allocations: 7.984 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.01213, allocations: 165.9 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.01223, allocations: 89.3 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.01225, allocations: 16.84 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.01225, allocations: 0 / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.01233, allocations: 70.14 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.01233, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002635/0.0126, allocations: 113.5 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.01263, allocations: 55.41 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.01274, allocations: 180.2 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.01276, allocations: 25.7 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.01279, allocations: 100.1 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.01282, allocations: 35.77 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.01285, allocations: 17.72 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.01293, allocations: 326.8 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.01295, allocations: 15.19 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.01298, allocations: 21.66 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.01303, allocations: 48.5 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01303, allocations: 4 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.407e-05/0.01311, allocations: 76.38 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.01312, allocations: 4 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01313, allocations: 4.031 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01314, allocations: 4 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.01319, allocations: 12 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.0132, allocations: 0 / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.01323, allocations: 3.984 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01323, allocations: 4 kB / 330.7 MB, free: 2.066 MB / 298.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 (10): * Single equations (assignments): 10 * 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.003076/0.01631, allocations: 124.6 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.01633, allocations: 15.86 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.01644, allocations: 75.14 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01644, allocations: 0 / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01644, allocations: 4 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01644, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.01669, allocations: 295.6 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01669, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.01672, allocations: 15.94 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01672, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01673, allocations: 4 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01673, allocations: 0 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01673, allocations: 80 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.01685, allocations: 223 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.01686, allocations: 15.94 kB / 331.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.01688, allocations: 8 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.01694, allocations: 0 / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.01696, allocations: 7.984 kB / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.01697, allocations: 4 kB / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.01703, allocations: 56.69 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01703, allocations: 0 / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01725, allocations: 31.92 kB / 331.5 MB, free: 1.133 MB / 298.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: 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 (9): * Single equations (assignments): 7 * 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.001381/0.01863, allocations: 0.5698 MB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.01872, allocations: 44.77 kB / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01872, allocations: 0 / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.01876, allocations: 28.78 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01896, allocations: 39.03 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.02226, allocations: 227.6 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.02231, allocations: 71.33 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.02235, allocations: 17.27 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.02242, allocations: 75.3 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02242, allocations: 0 / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of Templates: time 0.003746/0.02617, allocations: 2.008 MB / 334.6 MB, free: 14.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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: 2.939210214652121]