Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.002104/0.002104, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002125/0.002125, allocations: 161.7 kB / 24.27 MB, free: 172 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.559/1.559, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.4331/0.4331, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.918e-05, allocations: 6.312 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005195/0.005234, allocations: 1.792 MB / 377.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.008654, allocations: 1.045 MB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.008896, allocations: 3.938 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.009966, allocations: 295.2 kB / 378.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.01103, allocations: 267 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.01154, allocations: 103.6 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006983/0.01224, allocations: 275.2 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.01232, allocations: 5.812 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.01284, allocations: 151.6 kB / 379.3 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.01334, allocations: 200.1 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.01339, allocations: 4 kB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.0136, allocations: 51.91 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.01389, allocations: 140.5 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.01411, allocations: 75.66 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.01487, allocations: 354.7 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01487, allocations: 0 / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01487, allocations: 0 / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.01489, allocations: 0 / 380.1 MB, free: 176 kB / 346.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.001866/0.01675, allocations: 0.6592 MB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.651e-05/0.01684, allocations: 12.03 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.01716, allocations: 60.61 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.01874, allocations: 393.7 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.01878, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.01881, allocations: 4.375 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.01922, allocations: 87.92 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.01924, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01926, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01927, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.01947, allocations: 39.91 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.02023, allocations: 302.1 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.02071, allocations: 105.2 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.02088, allocations: 49.62 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.02091, allocations: 0 / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.02127, allocations: 105.1 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.02127, allocations: 0 / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008753/0.02214, allocations: 213.2 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.02224, allocations: 77.11 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.02443, allocations: 1.046 MB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.02447, allocations: 33.7 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.02483, allocations: 236.1 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.0249, allocations: 23.84 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.025, allocations: 25.72 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003484/0.02535, allocations: 374.8 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.02551, allocations: 27.98 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.02569, allocations: 59.41 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.02601, allocations: 91.36 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.02602, allocations: 4.5 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006021/0.02662, allocations: 185.2 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.02664, allocations: 5.875 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.02666, allocations: 3.938 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.02669, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.02688, allocations: 23.92 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.02689, allocations: 4 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.02707, allocations: 7.938 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.0271, allocations: 16.05 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003951/0.02749, allocations: 210.4 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.02764, allocations: 63.62 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.0283, allocations: 205.8 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.0283, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.02831, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.02832, allocations: 4 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.02884, allocations: 265.2 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.02885, allocations: 3.984 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.02892, allocations: 19.88 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.02892, allocations: 0 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.02894, allocations: 4 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.02895, allocations: 3.938 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02895, allocations: 0 / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.02958, allocations: 225.6 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.02977, allocations: 67.59 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.02984, allocations: 256 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.03, allocations: 19.92 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.03009, allocations: 11.92 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.03012, allocations: 12 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.03159, allocations: 0.7721 MB / 386.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03159, allocations: 0 / 386.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.03209, allocations: 40 kB / 386.2 MB, free: 9.734 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002889/0.03498, allocations: 439.4 kB / 386.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.03542, allocations: 91.89 kB / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03542, allocations: 0 / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.03559, allocations: 44.42 kB / 386.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.03633, allocations: 85.14 kB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.03866, allocations: 0.8896 MB / 387.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.03912, allocations: 237.7 kB / 388 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.03933, allocations: 50.95 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.03946, allocations: 36.5 kB / 388.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03946, allocations: 0 / 388.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of Templates: time 0.01479/0.05425, allocations: 4.009 MB / 392.1 MB, free: 4.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 5.26931262598373]