Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001796/0.001796, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 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.002609/0.002609, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.508/1.508, allocations: 230.3 MB / 258 MB, free: 8.238 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.247/0.247, allocations: 46.93 MB / 361.4 MB, free: 4.41 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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") [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.002326/0.002326, allocations: 80.19 kB / 0.4972 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3782, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003673/0.3818, allocations: 1.624 MB / 0.5633 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.383, allocations: 0.5538 MB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.383, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.3833, allocations: 31.77 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3836, allocations: 79.69 kB / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.3839, allocations: 123 kB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3841, allocations: 67.83 kB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3842, allocations: 11.64 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.3843, allocations: 23.88 kB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.3843, allocations: 23.86 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3844, allocations: 4 kB / 0.5641 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3845, allocations: 35.97 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.3845, allocations: 23.86 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.3846, allocations: 23.81 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3848, allocations: 86.47 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3848, allocations: 0 / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3848, allocations: 0 / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.3848, allocations: 0 / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005625/0.3853, allocations: 313.8 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3854, allocations: 12.03 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3854, allocations: 16.83 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3856, allocations: 138.5 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3856, allocations: 8.375 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3857, allocations: 4.312 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3858, allocations: 53.8 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3858, allocations: 0 / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3858, allocations: 0 / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3859, allocations: 0 / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.3859, allocations: 23.98 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3864, allocations: 264 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3866, allocations: 42.5 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.3867, allocations: 20.94 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3867, allocations: 3.938 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3867, allocations: 30.56 kB / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3867, allocations: 4 kB / 0.5652 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006152/0.3874, allocations: 157.4 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3874, allocations: 51.41 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3876, allocations: 170.5 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3876, allocations: 29.7 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.3877, allocations: 100.1 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3877, allocations: 15.84 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3878, allocations: 17.72 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.388, allocations: 326.8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.3881, allocations: 19.98 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.3881, allocations: 23.97 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3883, allocations: 56.77 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3883, allocations: 4.188 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.3885, allocations: 97.5 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3885, allocations: 8 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3885, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3885, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.3886, allocations: 8 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3886, allocations: 0 / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.3886, allocations: 7.984 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3886, allocations: 4 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001098/0.3887, allocations: 125.7 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3888, allocations: 11.94 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.389, allocations: 94.06 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.389, allocations: 4 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.389, allocations: 0 / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.389, allocations: 0 / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.3895, allocations: 345.5 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3895, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.3896, allocations: 8.281 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3896, allocations: 0 / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3896, allocations: 0 / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3896, allocations: 11.92 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3896, allocations: 3.938 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3899, allocations: 183.5 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.3899, allocations: 16.14 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3899, allocations: 0 / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.39, allocations: 15.88 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.39, allocations: 7.984 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.39, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3902, allocations: 139.9 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3904, allocations: 15.94 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001478/0.3919, allocations: 399.6 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3921, allocations: 51.95 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3921, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.3922, allocations: 27.92 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3925, allocations: 19.98 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.393, allocations: 210.1 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3934, allocations: 0.6924 MB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.3934, allocations: 23.75 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3935, allocations: 23.36 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3935, allocations: 4 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.004316/0.3978, allocations: 1.164 MB / 0.5697 GB, free: 12.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.162600580602884]