Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.00137/0.00137, 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.001416/0.001416, 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.478/1.478, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2394/0.2394, allocations: 46.93 MB / 362 MB, free: 4.227 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") [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.002409/0.002409, allocations: 83.84 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3354, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003253/0.3387, allocations: 1.744 MB / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3405, allocations: 1.041 MB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.3405, allocations: 4 kB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3408, allocations: 51.75 kB / 0.5652 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.3412, allocations: 103.5 kB / 0.5653 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3413, allocations: 71.75 kB / 0.5653 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3415, allocations: 115.6 kB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.3416, allocations: 4 kB / 0.5654 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.3417, allocations: 43.78 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.3418, allocations: 35.84 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3418, allocations: 8 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.3419, allocations: 39.98 kB / 0.5656 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.342, allocations: 27.8 kB / 0.5656 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.342, allocations: 39.72 kB / 0.5656 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3423, allocations: 126 kB / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3423, allocations: 0 / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3423, allocations: 0 / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3423, allocations: 0 / 0.5657 GB, free: 0.7891 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.0005436/0.3428, allocations: 353.5 kB / 0.5661 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3428, allocations: 12.03 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3429, allocations: 12.89 kB / 0.5661 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3432, allocations: 162.2 kB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3432, allocations: 4.359 kB / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3432, allocations: 4.375 kB / 0.5663 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3434, allocations: 57.98 kB / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3434, allocations: 0 / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3434, allocations: 3.984 kB / 0.5663 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3434, allocations: 0 / 0.5663 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.3435, allocations: 19.98 kB / 0.5664 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.3439, allocations: 271.8 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3441, allocations: 50.69 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.3441, allocations: 20.84 kB / 0.5667 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3442, allocations: 0 / 0.5667 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3443, allocations: 75.39 kB / 0.5668 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3443, allocations: 0 / 0.5668 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000655/0.345, allocations: 177.3 kB / 0.5669 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.345, allocations: 59.41 kB / 0.567 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3452, allocations: 214.2 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3453, allocations: 29.64 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.3453, allocations: 112.1 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3454, allocations: 23.84 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3454, allocations: 17.72 kB / 0.5674 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3456, allocations: 326.8 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.3457, allocations: 23.98 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.3457, allocations: 41.64 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3459, allocations: 65.69 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3459, allocations: 0 / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.3461, allocations: 101.5 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3461, allocations: 4 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3461, allocations: 3.938 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3461, allocations: 0 / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3462, allocations: 23.92 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3462, allocations: 0 / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.3463, allocations: 4 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3463, allocations: 8.031 kB / 0.5679 GB, free: 14.35 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.0001209/0.3464, allocations: 129.8 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3464, allocations: 15.91 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3467, allocations: 119.1 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3467, allocations: 3.938 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3467, allocations: 0 / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3467, allocations: 0 / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.3472, allocations: 378.4 kB / 0.5685 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3472, allocations: 3.938 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3472, allocations: 8 kB / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3472, allocations: 0 / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3472, allocations: 0 / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.3472, allocations: 8.312 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3473, allocations: 0 / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3475, allocations: 208.3 kB / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3475, allocations: 11.94 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3476, allocations: 8 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3476, allocations: 7.938 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3477, allocations: 11.92 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3477, allocations: 4 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3479, allocations: 152.3 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3479, allocations: 0 / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3482, allocations: 24 kB / 0.569 GB, free: 13.19 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.001713/0.3499, allocations: 458.7 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3501, allocations: 51.92 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3501, allocations: 4.062 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.3502, allocations: 23.98 kB / 0.5695 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3505, allocations: 38.52 kB / 0.5695 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.3511, allocations: 246.6 kB / 0.5698 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3515, allocations: 0.7158 MB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.3516, allocations: 12.97 kB / 0.5705 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.3516, allocations: 19.38 kB / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3516, allocations: 0 / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.005454/0.3571, allocations: 1.784 MB / 0.5722 GB, free: 9.973 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.204498203936964]