Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.002249/0.002249, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.003945/0.003945, allocations: 212.9 kB / 23 MB, free: 5.609 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.6/1.6, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.9 MB / 359.4 MB, free: 4.879 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 79.86 kB / 0.4947 GB, free: 8.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3284, allocations: 65.98 MB / 0.5591 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004365/0.3327, allocations: 1.956 MB / 0.5611 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3349, allocations: 1.092 MB / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.335, allocations: 0 / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.3353, allocations: 51.64 kB / 0.5622 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3356, allocations: 87.55 kB / 0.5623 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.3358, allocations: 103.6 kB / 0.5624 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3361, allocations: 147.5 kB / 0.5625 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3363, allocations: 28.2 kB / 0.5625 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3364, allocations: 59.72 kB / 0.5626 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3365, allocations: 59.64 kB / 0.5626 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3365, allocations: 4 kB / 0.5626 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3367, allocations: 47.98 kB / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3367, allocations: 23.92 kB / 0.5627 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.3368, allocations: 55.61 kB / 0.5628 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3372, allocations: 155 kB / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3372, allocations: 0 / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3372, allocations: 0 / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3372, allocations: 0 / 0.5629 GB, free: 1.156 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.0009794/0.3382, allocations: 494.9 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3382, allocations: 8.031 kB / 0.5634 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.3383, allocations: 16.84 kB / 0.5634 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3387, allocations: 241.7 kB / 0.5636 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3387, allocations: 4.375 kB / 0.5636 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3387, allocations: 12.36 kB / 0.5636 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.339, allocations: 112.5 kB / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.339, allocations: 0 / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.339, allocations: 3.984 kB / 0.5638 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.339, allocations: 4 kB / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3391, allocations: 47.91 kB / 0.5638 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.3398, allocations: 0.5088 MB / 0.5643 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3402, allocations: 82.66 kB / 0.5644 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.3403, allocations: 32.84 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3403, allocations: 4 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.3405, allocations: 87.31 kB / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3405, allocations: 3.938 kB / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004264/0.3409, allocations: 137.8 kB / 0.5646 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.341, allocations: 59.48 kB / 0.5647 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3412, allocations: 211 kB / 0.5649 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3412, allocations: 29.7 kB / 0.5649 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.3413, allocations: 116 kB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3414, allocations: 35.73 kB / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.3414, allocations: 21.72 kB / 0.5651 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3416, allocations: 330.8 kB / 0.5654 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.3417, allocations: 27.98 kB / 0.5654 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3418, allocations: 71.64 kB / 0.5655 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.342, allocations: 92.16 kB / 0.5656 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.342, allocations: 4 kB / 0.5656 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002658/0.3423, allocations: 137.4 kB / 0.5657 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3423, allocations: 4 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.3423, allocations: 4 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3423, allocations: 4 kB / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3424, allocations: 23.98 kB / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3424, allocations: 4 kB / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.3425, allocations: 20 kB / 0.5658 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3425, allocations: 4 kB / 0.5658 GB, free: 13.93 MB / 414.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.0001153/0.3426, allocations: 127.8 kB / 0.5659 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3427, allocations: 15.91 kB / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.343, allocations: 127.1 kB / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.343, allocations: 96 / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.343, allocations: 3.938 kB / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.343, allocations: 7.922 kB / 0.5661 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3432, allocations: 221.5 kB / 0.5663 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3432, allocations: 0 / 0.5663 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.3433, allocations: 12 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3433, allocations: 0 / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3433, allocations: 7.984 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3433, allocations: 0 / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3433, allocations: 0 / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3437, allocations: 184.9 kB / 0.5665 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.3438, allocations: 89.05 kB / 0.5665 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3438, allocations: 7.875 kB / 0.5666 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.3438, allocations: 15.97 kB / 0.5666 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.3439, allocations: 11.92 kB / 0.5666 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3439, allocations: 4 kB / 0.5666 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3441, allocations: 144.4 kB / 0.5667 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3441, allocations: 0 / 0.5667 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3443, allocations: 27.94 kB / 0.5667 GB, free: 12.84 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 (9): * Single equations (assignments): 7 * 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.001543/0.3458, allocations: 395.7 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3461, allocations: 79.83 kB / 0.5672 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3461, allocations: 0 / 0.5672 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3462, allocations: 39.92 kB / 0.5672 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3465, allocations: 42.08 kB / 0.5673 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3471, allocations: 287.3 kB / 0.5676 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3474, allocations: 0.7123 MB / 0.5683 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.3475, allocations: 17.42 kB / 0.5683 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3475, allocations: 23.36 kB / 0.5683 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3475, allocations: 0 / 0.5683 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Templates: time 0.00531/0.3528, allocations: 1.923 MB / 0.5702 GB, free: 9.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.32054453715682]