Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001051/0.001051, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001126/0.001126, allocations: 161.5 kB / 24.99 MB, free: 8.344 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2729/0.2729, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.944e-05, allocations: 5.828 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00463/0.00465, allocations: 1.793 MB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.006006, allocations: 1.005 MB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.006085, allocations: 3.938 kB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.006375, allocations: 43.75 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.009837, allocations: 111.4 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.01007, allocations: 79.66 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.01028, allocations: 135.6 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.01044, allocations: 4 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.01064, allocations: 71.81 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.01075, allocations: 43.88 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.01077, allocations: 12 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.0109, allocations: 59.86 kB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.01096, allocations: 31.86 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.01101, allocations: 27.91 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.01123, allocations: 131.5 kB / 379.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01123, allocations: 0 / 379.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01123, allocations: 0 / 379.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.01124, allocations: 0 / 379.6 MB, free: 1.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004998/0.01174, allocations: 471.7 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01177, allocations: 8.031 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.01183, allocations: 20.84 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.01201, allocations: 164.9 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.01203, allocations: 4.312 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.01205, allocations: 8.375 kB / 380.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.01221, allocations: 74.86 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01223, allocations: 7.938 kB / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.01224, allocations: 0 / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01225, allocations: 0 / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.01231, allocations: 31.95 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.01269, allocations: 315.7 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01296, allocations: 87 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.01303, allocations: 19.67 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.01305, allocations: 4 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.01325, allocations: 77.03 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.993e-06/0.01325, allocations: 0 / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006657/0.01391, allocations: 261.7 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.01395, allocations: 55.41 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01409, allocations: 233.9 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01411, allocations: 33.7 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.01419, allocations: 151.1 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.01424, allocations: 43.64 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.01429, allocations: 43.3 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01441, allocations: 0.5 MB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.01445, allocations: 27.98 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.0145, allocations: 43.36 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.01458, allocations: 71.36 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01459, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000156/0.01474, allocations: 137.5 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01476, allocations: 4 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01476, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01478, allocations: 4 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.01485, allocations: 27.92 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01486, allocations: 3.938 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.01489, allocations: 4 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.0149, allocations: 4 kB / 382.5 MB, free: 14.22 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 (15): * Single equations (assignments): 15 * 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 9.363e-05/0.01499, allocations: 176.4 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.01502, allocations: 19.89 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.01527, allocations: 162.4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.01527, allocations: 4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01528, allocations: 3.938 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01528, allocations: 3.984 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.01573, allocations: 484.1 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01573, allocations: 0 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.01578, allocations: 23.98 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01579, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.0158, allocations: 4 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.0158, allocations: 8 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01581, allocations: 3.938 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.01603, allocations: 311 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01605, allocations: 15.91 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.01607, allocations: 4 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.01613, allocations: 7.984 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01618, allocations: 11.92 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.0162, allocations: 12 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.032e-05/0.01629, allocations: 180.2 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01629, allocations: 3.938 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.0165, allocations: 39.94 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001115/0.01761, allocations: 493.3 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01778, allocations: 79.53 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01778, allocations: 8.062 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.01785, allocations: 51.59 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01811, allocations: 39.66 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.01855, allocations: 278.1 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.0186, allocations: 71.83 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.01865, allocations: 29.59 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.0187, allocations: 24.5 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0187, allocations: 0 / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Templates: time 0.004514/0.02321, allocations: 2.375 MB / 387.4 MB, free: 9.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.5185368368402123]