Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001305/0.001305, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001449/0.001449, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 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.561/1.561, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.94 MB / 362.1 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 75.88 kB / 0.4978 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3775, allocations: 66.09 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003323/0.3808, allocations: 1.827 MB / 0.5642 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3827, allocations: 1.122 MB / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.3828, allocations: 7.938 kB / 0.5653 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.3833, allocations: 303.3 kB / 0.5656 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.3838, allocations: 263.2 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.3841, allocations: 107.7 kB / 0.5659 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.3844, allocations: 267.2 kB / 0.5662 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.3844, allocations: 5.812 kB / 0.5662 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.3846, allocations: 143.5 kB / 0.5663 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3849, allocations: 219.6 kB / 0.5665 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3849, allocations: 8 kB / 0.5665 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3851, allocations: 47.86 kB / 0.5666 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3852, allocations: 135.6 kB / 0.5667 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3854, allocations: 154.8 kB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.3859, allocations: 396.6 kB / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3859, allocations: 0 / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3859, allocations: 0 / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3859, allocations: 0 / 0.5672 GB, free: 15.25 MB / 414.1 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.0009909/0.3869, allocations: 0.6863 MB / 0.5679 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3869, allocations: 8.031 kB / 0.5679 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.387, allocations: 60.59 kB / 0.568 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.3876, allocations: 394.5 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3876, allocations: 4.375 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3877, allocations: 12.36 kB / 0.5684 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3879, allocations: 83.69 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3879, allocations: 0 / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3879, allocations: 4 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3879, allocations: 7.984 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.388, allocations: 31.91 kB / 0.5685 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.3884, allocations: 357.4 kB / 0.5688 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.3887, allocations: 101.2 kB / 0.5689 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3888, allocations: 37.69 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3888, allocations: 7.938 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.389, allocations: 105 kB / 0.5691 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.389, allocations: 4 kB / 0.5691 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005081/0.3895, allocations: 201.2 kB / 0.5693 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3896, allocations: 81.09 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3908, allocations: 1.05 MB / 0.5704 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3908, allocations: 25.7 kB / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.391, allocations: 240.1 kB / 0.5706 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.391, allocations: 31.73 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.3911, allocations: 29.72 kB / 0.5707 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3913, allocations: 378.7 kB / 0.571 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.3914, allocations: 31.98 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3915, allocations: 51.42 kB / 0.5711 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3917, allocations: 91.84 kB / 0.5712 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3917, allocations: 0 / 0.5712 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003078/0.392, allocations: 177.2 kB / 0.5714 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.392, allocations: 8 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.392, allocations: 3.938 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.392, allocations: 3.938 kB / 0.5714 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3921, allocations: 31.92 kB / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3921, allocations: 0 / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.3922, allocations: 15.98 kB / 0.5714 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3922, allocations: 4 kB / 0.5714 GB, free: 10.69 MB / 414.1 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.0002179/0.3924, allocations: 218.7 kB / 0.5716 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.3925, allocations: 63.55 kB / 0.5717 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.3929, allocations: 201.8 kB / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3929, allocations: 0 / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3929, allocations: 0 / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.3929, allocations: 4 kB / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3932, allocations: 316.5 kB / 0.5722 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3932, allocations: 0 / 0.5722 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.3933, allocations: 27.86 kB / 0.5722 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3933, allocations: 0 / 0.5722 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3933, allocations: 4 kB / 0.5722 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3933, allocations: 0 / 0.5722 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3933, allocations: 0 / 0.5722 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.3937, allocations: 221.7 kB / 0.5724 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3938, allocations: 67.53 kB / 0.5725 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.3939, allocations: 15.98 kB / 0.5725 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.3939, allocations: 4 kB / 0.5725 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.394, allocations: 7.984 kB / 0.5725 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.394, allocations: 8 kB / 0.5725 GB, free: 9.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008589/0.3949, allocations: 0.78 MB / 0.5733 GB, free: 8.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3949, allocations: 0 / 0.5733 GB, free: 8.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3951, allocations: 51.98 kB / 0.5734 GB, free: 8.645 MB / 414.1 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.001445/0.3966, allocations: 403.2 kB / 0.5737 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3968, allocations: 75.91 kB / 0.5738 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3968, allocations: 3.938 kB / 0.5738 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.397, allocations: 44.28 kB / 0.5739 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3974, allocations: 81.7 kB / 0.5739 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3986, allocations: 0.8933 MB / 0.5748 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.3991, allocations: 0.8468 MB / 0.5756 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3992, allocations: 62.94 kB / 0.5757 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.3993, allocations: 27.44 kB / 0.5757 GB, free: 6.301 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3993, allocations: 0 / 0.5757 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Templates: time 0.008549/0.4078, allocations: 3.91 MB / 0.5795 GB, free: 2.406 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.243805692065507]