Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001032/0.001032, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001021/0.001021, allocations: 161.7 kB / 24.99 MB, free: 8.77 MB / 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 0.9643/0.9643, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2589/0.2589, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.394e-05, allocations: 3.438 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002832/0.002866, allocations: 1.849 MB / 380.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.004156, allocations: 1.091 MB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.004235, allocations: 0 / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.004642, allocations: 299 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.004987, allocations: 259 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.005148, allocations: 111.6 kB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.005374, allocations: 263.2 kB / 382.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.005417, allocations: 9.75 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.005555, allocations: 155.6 kB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.005723, allocations: 200.1 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.005744, allocations: 8 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.005824, allocations: 47.92 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.005931, allocations: 140.5 kB / 383.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.005999, allocations: 71.66 kB / 383.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.006265, allocations: 278.9 kB / 383.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.006267, allocations: 0 / 383.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006268, allocations: 4 kB / 383.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.006273, allocations: 0 / 383.6 MB, free: 13.57 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.0006715/0.006944, allocations: 0.7863 MB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.006975, allocations: 8.031 kB / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.007045, allocations: 52.61 kB / 384.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.007346, allocations: 328.7 kB / 384.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.007365, allocations: 4.359 kB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.007377, allocations: 4.375 kB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.00752, allocations: 98.28 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.007527, allocations: 4.188 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.007536, allocations: 384 / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.007545, allocations: 7.875 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.007594, allocations: 23.91 kB / 384.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.007851, allocations: 308.2 kB / 385.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.007989, allocations: 98.14 kB / 385.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.00803, allocations: 35.36 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.00805, allocations: 8 kB / 385.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.008182, allocations: 112.3 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.008183, allocations: 0 / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000266/0.008449, allocations: 173.3 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.008489, allocations: 85.05 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.008982, allocations: 0.6979 MB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.008997, allocations: 29.7 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.009152, allocations: 302.8 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.009187, allocations: 23.84 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.009223, allocations: 35.38 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004235/0.009646, allocations: 0.5625 MB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.009684, allocations: 16 kB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.009728, allocations: 50.73 kB / 387.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.009808, allocations: 78.67 kB / 387.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00981, allocations: 0 / 387.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001498/0.00996, allocations: 157.2 kB / 387.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.009973, allocations: 4 kB / 387.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.009979, allocations: 8.688 kB / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.009993, allocations: 0 / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.01007, allocations: 23.92 kB / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01008, allocations: 4 kB / 387.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.01013, allocations: 11.94 kB / 387.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.01014, allocations: 8 kB / 387.7 MB, free: 9.172 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 8.782e-05/0.01023, allocations: 170 kB / 387.8 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.01027, allocations: 59.62 kB / 387.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.01046, allocations: 161.8 kB / 388.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01046, allocations: 4 kB / 388.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01046, allocations: 3.938 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01047, allocations: 7.984 kB / 388.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.01068, allocations: 308.5 kB / 388.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01068, allocations: 0 / 388.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.0107, allocations: 11.94 kB / 388.4 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01071, allocations: 4 kB / 388.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01072, allocations: 3.984 kB / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01072, allocations: 0 / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01072, allocations: 4 kB / 388.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.01089, allocations: 211.6 kB / 388.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.01095, allocations: 75.59 kB / 388.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01098, allocations: 4 kB / 388.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.01102, allocations: 0 / 388.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.01105, allocations: 15.92 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01107, allocations: 11.98 kB / 388.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.01138, allocations: 474.8 kB / 389.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 0 / 389.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01155, allocations: 44 kB / 389.2 MB, free: 7.555 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.0007834/0.01233, allocations: 397.1 kB / 389.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01246, allocations: 75.7 kB / 389.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01246, allocations: 0 / 389.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.01251, allocations: 43.73 kB / 389.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01278, allocations: 71.67 kB / 389.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.01346, allocations: 0.6519 MB / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.01353, allocations: 132.2 kB / 390.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.0136, allocations: 38.95 kB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01365, allocations: 24.5 kB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01365, allocations: 4 kB / 390.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of Templates: time 0.006063/0.01971, allocations: 4.017 MB / 394.6 MB, free: 2.199 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.119643067009747]