Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001059/0.001059, 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.001953/0.001953, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2734/0.2734, allocations: 34.26 MB / 296 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.033e-05, allocations: 5.828 kB / 378.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.005685/0.005716, allocations: 1.715 MB / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.007034, allocations: 0.9859 MB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.007108, allocations: 3.938 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.01046, allocations: 51.81 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.0108, allocations: 111.6 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.011, allocations: 71.61 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.01116, allocations: 99.69 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.0112, allocations: 4.234 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.0113, allocations: 63.77 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.01137, allocations: 23.91 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.01139, allocations: 4 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.01147, allocations: 27.98 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.01152, allocations: 31.86 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.01156, allocations: 15.94 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.01174, allocations: 107.5 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01174, allocations: 0 / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01175, allocations: 0 / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01175, allocations: 0 / 381.4 MB, free: 15.52 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.0005062/0.01226, allocations: 467.8 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.0123, allocations: 12.03 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.01236, allocations: 20.83 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.01255, allocations: 161.2 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01257, allocations: 8.375 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.01258, allocations: 384 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.01271, allocations: 54.94 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.01272, allocations: 7.875 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.01273, allocations: 0 / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.01273, allocations: 4 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.01277, allocations: 8 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.01294, allocations: 156.6 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.01305, allocations: 51.09 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.01308, allocations: 15.67 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.01309, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.01321, allocations: 72.98 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.01321, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002547/0.01346, allocations: 93.47 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.0135, allocations: 51.41 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.01367, allocations: 281.6 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.01369, allocations: 25.7 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.01376, allocations: 166.8 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01379, allocations: 15.91 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.01382, allocations: 23.38 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01395, allocations: 0.504 MB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.01397, allocations: 11.94 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.01401, allocations: 27.36 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.01406, allocations: 35.38 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01406, allocations: 4 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.01416, allocations: 77.53 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01418, allocations: 8 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01418, allocations: 3.938 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.0142, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.01428, allocations: 8 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.01429, allocations: 7.984 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.01432, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01432, allocations: 4 kB / 383.8 MB, free: 12.94 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.37e-05/0.01441, allocations: 164.5 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.01443, allocations: 15.94 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.01457, allocations: 90.86 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01457, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01457, allocations: 7.984 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01458, allocations: 0 / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.01469, allocations: 156.6 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.0147, allocations: 384 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.01472, allocations: 11.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01473, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.01474, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01474, allocations: 7.938 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01474, allocations: 3.984 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01485, allocations: 124.3 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01487, allocations: 11.91 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.01488, allocations: 4 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.01491, allocations: 7.875 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.01495, allocations: 7.984 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01496, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.01507, allocations: 196.5 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01507, allocations: 0 / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.01522, allocations: 20 kB / 384.6 MB, free: 12.05 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.0009563/0.01618, allocations: 385.4 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01632, allocations: 39.61 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01632, allocations: 4.062 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.01636, allocations: 27.67 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01658, allocations: 27.97 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.01702, allocations: 238.5 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.01707, allocations: 71.33 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.01712, allocations: 8.484 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.01715, allocations: 16.5 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01715, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.004181/0.02133, allocations: 1.674 MB / 387.1 MB, free: 9.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.43776942207478]