Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2761/0.2761, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3359, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003592/0.3395, allocations: 1.894 MB / 0.5601 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3416, allocations: 1.007 MB / 0.5611 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3417, allocations: 4 kB / 0.5611 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.342, allocations: 47.64 kB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3424, allocations: 95.55 kB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.3427, allocations: 103.6 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.343, allocations: 147.5 kB / 0.5615 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3432, allocations: 28.39 kB / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3433, allocations: 55.73 kB / 0.5615 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3434, allocations: 51.64 kB / 0.5616 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.3434, allocations: 8 kB / 0.5616 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3435, allocations: 51.97 kB / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.3436, allocations: 27.86 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.3437, allocations: 43.73 kB / 0.5617 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.344, allocations: 155 kB / 0.5619 GB, free: 3.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.344, allocations: 4 kB / 0.5619 GB, free: 3.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.344, allocations: 0 / 0.5619 GB, free: 3.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.344, allocations: 0 / 0.5619 GB, free: 3.746 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007585/0.3448, allocations: 411 kB / 0.5623 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3448, allocations: 12.03 kB / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.3449, allocations: 16.84 kB / 0.5623 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.3453, allocations: 178.9 kB / 0.5625 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3453, allocations: 8.375 kB / 0.5625 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3453, allocations: 8.125 kB / 0.5625 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.3456, allocations: 132.7 kB / 0.5626 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3456, allocations: 0 / 0.5626 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3457, allocations: 7.984 kB / 0.5626 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3457, allocations: 0 / 0.5626 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3458, allocations: 55.89 kB / 0.5627 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.3465, allocations: 452.7 kB / 0.5631 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.3468, allocations: 90.64 kB / 0.5632 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3469, allocations: 36.83 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.347, allocations: 4 kB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.3472, allocations: 105 kB / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3472, allocations: 4 kB / 0.5633 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004438/0.3477, allocations: 153.5 kB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3477, allocations: 51.41 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.348, allocations: 215.4 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.348, allocations: 25.7 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.3481, allocations: 116.1 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3481, allocations: 31.73 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.3482, allocations: 29.66 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3483, allocations: 334.8 kB / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.3484, allocations: 23.98 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3485, allocations: 72.2 kB / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3488, allocations: 104.2 kB / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3488, allocations: 0 / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002832/0.349, allocations: 133.4 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3491, allocations: 8.125 kB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3491, allocations: 4 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3491, allocations: 0 / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3492, allocations: 27.98 kB / 0.5646 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3492, allocations: 11.88 kB / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.3493, allocations: 7.953 kB / 0.5646 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3493, allocations: 4 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001258/0.3494, allocations: 129.8 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3494, allocations: 15.91 kB / 0.5648 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3498, allocations: 139 kB / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3498, allocations: 0 / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3498, allocations: 3.938 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3498, allocations: 0 / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.35, allocations: 149.5 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.35, allocations: 0 / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.3501, allocations: 19.92 kB / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3501, allocations: 0 / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3501, allocations: 0 / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3501, allocations: 7.938 kB / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3501, allocations: 0 / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.3505, allocations: 200.9 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.3505, allocations: 15.94 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3506, allocations: 0 / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.3506, allocations: 11.98 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3507, allocations: 11.98 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3507, allocations: 7.938 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.3509, allocations: 147.2 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3509, allocations: 0 / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.3511, allocations: 31.88 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001638/0.3527, allocations: 435.1 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.353, allocations: 79.84 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.353, allocations: 0 / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3531, allocations: 35.97 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3535, allocations: 41.78 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.3541, allocations: 313 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3542, allocations: 109.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.3542, allocations: 23.42 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3542, allocations: 0 / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004702/0.3589, allocations: 2.264 MB / 0.5687 GB, free: 12.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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: 8.225325035862625]