Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001916/0.001916, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002306/0.002306, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.553/1.553, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2401/0.2401, allocations: 46.9 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") [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.002356/0.002356, allocations: 83.86 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3809, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003099/0.384, allocations: 1.635 MB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.385, allocations: 0.5537 MB / 0.5634 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.3851, allocations: 0 / 0.5634 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3854, allocations: 79.7 kB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.3857, allocations: 99.64 kB / 0.5635 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.386, allocations: 91.69 kB / 0.5636 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3862, allocations: 83.77 kB / 0.5637 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3863, allocations: 14.8 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.3863, allocations: 35.91 kB / 0.5638 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3865, allocations: 51.81 kB / 0.5638 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3865, allocations: 4 kB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.3866, allocations: 47.92 kB / 0.5639 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.3866, allocations: 23.86 kB / 0.5639 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3867, allocations: 31.8 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3869, allocations: 107.5 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3869, allocations: 0 / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3869, allocations: 0 / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3869, allocations: 4 kB / 0.564 GB, free: 2.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005534/0.3874, allocations: 414.7 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3875, allocations: 8.031 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.3875, allocations: 12.84 kB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3878, allocations: 196.2 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3878, allocations: 8.375 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3878, allocations: 384 / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3879, allocations: 58.17 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.388, allocations: 4.188 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.388, allocations: 7.938 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.388, allocations: 0 / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.3881, allocations: 23.98 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.3885, allocations: 296.8 kB / 0.565 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3886, allocations: 50.48 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.3887, allocations: 20.86 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3887, allocations: 0 / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3887, allocations: 30.66 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3887, allocations: 0 / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009118/0.3896, allocations: 229.2 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3897, allocations: 55.41 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3899, allocations: 195.3 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3899, allocations: 25.7 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.39, allocations: 108.1 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.39, allocations: 31.81 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.3901, allocations: 21.7 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3902, allocations: 330.8 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.3903, allocations: 27.92 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3904, allocations: 23.98 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3905, allocations: 60.83 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3905, allocations: 0 / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.3908, allocations: 97.62 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3908, allocations: 4 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3908, allocations: 3.984 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3908, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3909, allocations: 23.94 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3909, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.391, allocations: 11.92 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.391, allocations: 0 / 0.5663 GB, free: 15.6 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 (8): * Single equations (assignments): 8 * 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.0001129/0.3911, allocations: 133.8 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3911, allocations: 15.91 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3914, allocations: 119.3 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3914, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3914, allocations: 4 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3914, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.392, allocations: 403.2 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.392, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3921, allocations: 19.98 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3921, allocations: 4 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3921, allocations: 11.94 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3921, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3921, allocations: 3.938 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3924, allocations: 216.2 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.3924, allocations: 85.06 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3924, allocations: 3.938 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.3925, allocations: 11.98 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3926, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.3926, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3927, allocations: 157.6 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3927, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3929, allocations: 23.94 kB / 0.5674 GB, free: 14.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00164/0.3946, allocations: 455.7 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3948, allocations: 63.91 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3948, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.3949, allocations: 27.98 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3953, allocations: 19.98 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.3958, allocations: 270.8 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3961, allocations: 0.7048 MB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.3962, allocations: 12.97 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.3962, allocations: 19.42 kB / 0.569 GB, free: 12.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3962, allocations: 0 / 0.569 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Templates: time 0.004219/0.4004, allocations: 1.377 MB / 0.5703 GB, free: 11.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.285203360021114]