Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.001273/0.001273, 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.001724/0.001724, 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.4/1.4, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2272/0.2272, allocations: 46.94 MB / 362.1 MB, free: 4.234 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25") [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.002302/0.002302, allocations: 79.88 kB / 0.4979 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.08 MB / 0.5624 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003135/0.3229, allocations: 1.748 MB / 0.5641 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3245, allocations: 1.045 MB / 0.5651 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.3246, allocations: 0 / 0.5651 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3249, allocations: 43.7 kB / 0.5652 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.3252, allocations: 107.5 kB / 0.5653 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.3254, allocations: 79.72 kB / 0.5653 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3255, allocations: 103.7 kB / 0.5654 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.3256, allocations: 4 kB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3257, allocations: 59.7 kB / 0.5655 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.3258, allocations: 23.86 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3258, allocations: 4 kB / 0.5655 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.3259, allocations: 43.92 kB / 0.5656 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.326, allocations: 23.91 kB / 0.5656 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.326, allocations: 35.75 kB / 0.5656 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.3262, allocations: 134 kB / 0.5658 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3262, allocations: 0 / 0.5658 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3262, allocations: 4 kB / 0.5658 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3263, allocations: 0 / 0.5658 GB, free: 0.8203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005111/0.3268, allocations: 349.5 kB / 0.5661 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3268, allocations: 8.031 kB / 0.5661 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.3268, allocations: 12.89 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3271, allocations: 170.2 kB / 0.5663 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3271, allocations: 8.375 kB / 0.5663 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3271, allocations: 384 / 0.5663 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3273, allocations: 57.98 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3273, allocations: 0 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3273, allocations: 4 kB / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3273, allocations: 0 / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.3274, allocations: 15.98 kB / 0.5664 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.3277, allocations: 267.9 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3279, allocations: 58.67 kB / 0.5667 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.328, allocations: 24.78 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.328, allocations: 0 / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3281, allocations: 67.33 kB / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3281, allocations: 0 / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005196/0.3287, allocations: 189.3 kB / 0.5669 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.3287, allocations: 55.34 kB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3289, allocations: 214.2 kB / 0.5672 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3289, allocations: 25.7 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.329, allocations: 108.1 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.329, allocations: 23.84 kB / 0.5673 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3291, allocations: 21.72 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3292, allocations: 334.8 kB / 0.5677 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.3293, allocations: 19.98 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.3293, allocations: 33.7 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.3295, allocations: 57.66 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3295, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.3296, allocations: 105.6 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3297, allocations: 8.031 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3297, allocations: 4 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3297, allocations: 0 / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.3298, allocations: 19.92 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3298, allocations: 0 / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.3298, allocations: 4.375 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3298, allocations: 4 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001172/0.3299, allocations: 129.8 kB / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.33, allocations: 15.91 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.3302, allocations: 130.9 kB / 0.5682 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3302, allocations: 0 / 0.5682 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3302, allocations: 8 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3302, allocations: 0 / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3307, allocations: 366.3 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3307, allocations: 0 / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3307, allocations: 11.98 kB / 0.5686 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3307, allocations: 0 / 0.5686 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3307, allocations: 8.031 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3307, allocations: 3.938 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3307, allocations: 4.484 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.331, allocations: 212.2 kB / 0.5688 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.331, allocations: 11.89 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.331, allocations: 4 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.3311, allocations: 15.92 kB / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3311, allocations: 0 / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3311, allocations: 7.984 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3313, allocations: 160.3 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3315, allocations: 20 kB / 0.569 GB, free: 13.21 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001674/0.3332, allocations: 456.8 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3334, allocations: 55.91 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3334, allocations: 4 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.3335, allocations: 23.98 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3338, allocations: 26.92 kB / 0.5695 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3343, allocations: 254.6 kB / 0.5698 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3346, allocations: 0.7002 MB / 0.5705 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.3347, allocations: 21.27 kB / 0.5705 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3347, allocations: 23.44 kB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3347, allocations: 0 / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004676/0.3394, allocations: 1.772 MB / 0.5722 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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: 4.868236148962751]