Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001814/0.001814, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001659/0.001659, allocations: 156.9 kB / 24.27 MB, free: 176 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.485/1.485, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3512/0.3512, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.758e-05, allocations: 3.719 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.005266/0.005304, allocations: 1.73 MB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.00798, allocations: 0.9891 MB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.008104, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.008622, allocations: 91.61 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.009167, allocations: 115.5 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.009544, allocations: 87.53 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.009831, allocations: 123.6 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.009943, allocations: 11.98 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.01011, allocations: 75.75 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.01027, allocations: 63.86 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.0103, allocations: 4 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.01049, allocations: 63.91 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.01057, allocations: 27.86 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.01064, allocations: 23.91 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.01098, allocations: 131.5 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01098, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01098, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.01099, allocations: 3.984 kB / 380.8 MB, free: 15.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008153/0.01181, allocations: 369.3 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.01185, allocations: 12.03 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.01194, allocations: 16.84 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.01236, allocations: 166.3 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01238, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.01242, allocations: 4.375 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.01263, allocations: 62.22 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.01264, allocations: 192 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01265, allocations: 384 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.01266, allocations: 3.938 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01278, allocations: 35.92 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.01331, allocations: 244.5 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.01366, allocations: 62.55 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.01375, allocations: 24.91 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01377, allocations: 3.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.01397, allocations: 71.33 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.01398, allocations: 0 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001161/0.01514, allocations: 261.7 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.0152, allocations: 55.41 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.01559, allocations: 243.6 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.01562, allocations: 25.7 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01574, allocations: 112.1 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.01579, allocations: 35.77 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.01587, allocations: 29.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.01611, allocations: 326.8 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01622, allocations: 31.92 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01636, allocations: 45.7 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.0166, allocations: 85.64 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0166, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003947/0.017, allocations: 137.6 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.01702, allocations: 8 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01703, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.01705, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01718, allocations: 27.98 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01719, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.01726, allocations: 3.969 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01728, allocations: 11.98 kB / 383.3 MB, free: 12.59 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 (13): * Single equations (assignments): 13 * 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.0001826/0.01746, allocations: 133.8 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.01752, allocations: 23.89 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.018, allocations: 151.1 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.018, allocations: 4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.01801, allocations: 3.984 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.01802, allocations: 3.984 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.01887, allocations: 403.6 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.01888, allocations: 8.031 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.01897, allocations: 23.92 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01898, allocations: 0 / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.01899, allocations: 4 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.019, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.019, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.01946, allocations: 249 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.0195, allocations: 11.91 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.01953, allocations: 8 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01965, allocations: 7.922 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.01971, allocations: 23.92 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.01974, allocations: 4 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.01997, allocations: 175.2 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01997, allocations: 4 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.02041, allocations: 27.94 kB / 384.5 MB, free: 11.27 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 (12): * Single equations (assignments): 10 * 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.003327/0.02374, allocations: 0.534 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.02407, allocations: 79.91 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.02407, allocations: 4.062 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.0242, allocations: 39.92 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.02479, allocations: 32.14 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.02559, allocations: 301.9 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.02576, allocations: 105.8 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.263e-05/0.02585, allocations: 20.77 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.02592, allocations: 20.48 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02592, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.008026/0.03394, allocations: 2.111 MB / 387.8 MB, free: 8.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.9062887110048905]