Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001424/0.001424, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001535/0.001535, allocations: 161.7 kB / 24.27 MB, free: 176 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.468/1.468, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3593/0.3593, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.175e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.004476/0.004508, allocations: 1.673 MB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.006789, allocations: 0.9619 MB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.006858, allocations: 8 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.007209, allocations: 51.73 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.007559, allocations: 107.4 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.007777, allocations: 71.78 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.007986, allocations: 111.6 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.00802, allocations: 4.172 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.008146, allocations: 59.81 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.008249, allocations: 31.91 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.008271, allocations: 4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.008369, allocations: 35.92 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.008432, allocations: 31.84 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.008488, allocations: 15.94 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.008717, allocations: 103.6 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.00872, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00872, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.008725, allocations: 0 / 380.6 MB, free: 15.59 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.0006317/0.009357, allocations: 325.7 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.009394, allocations: 8.031 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.009456, allocations: 12.89 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.009753, allocations: 141.6 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.009769, allocations: 8.375 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.009781, allocations: 384 / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.009947, allocations: 58.17 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.009958, allocations: 3.938 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.009968, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.009977, allocations: 7.969 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.01006, allocations: 12 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.01026, allocations: 133.3 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01044, allocations: 50.61 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.0105, allocations: 24.84 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.01051, allocations: 3.938 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.01068, allocations: 71.33 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.01068, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003349/0.01102, allocations: 105.5 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.01107, allocations: 51.41 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.01128, allocations: 187.3 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.01131, allocations: 29.69 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.01138, allocations: 96.14 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.01142, allocations: 31.77 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.01146, allocations: 17.72 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01164, allocations: 322.8 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.0117, allocations: 12 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.01177, allocations: 33.7 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01188, allocations: 45.95 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01189, allocations: 0 / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001824/0.01207, allocations: 85.56 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01208, allocations: 13.91 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.01209, allocations: 3.938 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01211, allocations: 0 / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.01219, allocations: 8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01219, allocations: 4 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.01224, allocations: 7.953 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01225, allocations: 8.141 kB / 382.5 MB, free: 13.52 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.0001218/0.01237, allocations: 121.8 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.0124, allocations: 7.953 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.01265, allocations: 106.7 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01265, allocations: 4 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01266, allocations: 0 / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01266, allocations: 4 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01281, allocations: 121.3 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01281, allocations: 4 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.01284, allocations: 4 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.01284, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01285, allocations: 3.984 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01285, allocations: 3.938 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01286, allocations: 3.938 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01309, allocations: 129 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.01311, allocations: 11.89 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01313, allocations: 192 / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.01318, allocations: 11.94 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01322, allocations: 3.984 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.01323, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.01339, allocations: 143.9 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01362, allocations: 16 kB / 383.2 MB, free: 12.77 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.00201/0.01563, allocations: 432.2 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.0158, allocations: 47.91 kB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.0158, allocations: 0 / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.01587, allocations: 16 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01616, allocations: 34.88 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01691, allocations: 212.1 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.01701, allocations: 93.5 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.01706, allocations: 12.48 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.0171, allocations: 12.5 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0171, allocations: 3.938 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.005053/0.02215, allocations: 1.643 MB / 385.7 MB, free: 10.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.882135609979741]