Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001619/0.001619, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001519/0.001519, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.517/1.517, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.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.2138/0.2138, allocations: 34.26 MB / 295.4 MB, free: 14.5 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 79.88 kB / 443.2 MB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3325, allocations: 66.05 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002715/0.3352, allocations: 1.724 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.337, allocations: 0.9722 MB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.337, allocations: 0 / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.3374, allocations: 53.27 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.3377, allocations: 107.9 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.338, allocations: 76.89 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.3382, allocations: 113.1 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3383, allocations: 7.594 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.3384, allocations: 42.44 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.3385, allocations: 35.38 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3385, allocations: 3.375 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3386, allocations: 41.08 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.3387, allocations: 28.5 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.3387, allocations: 44.5 kB / 0.5005 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.339, allocations: 141.3 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.339, allocations: 4 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.339, allocations: 0 / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.339, allocations: 0 / 0.5006 GB, free: 27.7 MB / 446.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.0005986/0.3396, allocations: 374 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3397, allocations: 9.531 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.3397, allocations: 15.5 kB / 0.501 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.34, allocations: 175.2 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.34, allocations: 384 / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.34, allocations: 7.5 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3402, allocations: 57.41 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3402, allocations: 4 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3402, allocations: 6.266 kB / 0.5013 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3402, allocations: 3.984 kB / 0.5013 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.3403, allocations: 19.64 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3407, allocations: 240.9 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3409, allocations: 62.86 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.3409, allocations: 21.67 kB / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.341, allocations: 0 / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3411, allocations: 70.25 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3411, allocations: 0 / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006335/0.3418, allocations: 201.9 kB / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3418, allocations: 54.44 kB / 0.5019 GB, free: 26.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.342, allocations: 287.6 kB / 0.5022 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.342, allocations: 25.7 kB / 0.5022 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3421, allocations: 121 kB / 0.5023 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3421, allocations: 22.05 kB / 0.5023 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.3421, allocations: 20.12 kB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.3422, allocations: 335.9 kB / 0.5027 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.3422, allocations: 32 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.3423, allocations: 37.88 kB / 0.5027 GB, free: 25.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3424, allocations: 61.84 kB / 0.5028 GB, free: 25.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3424, allocations: 0 / 0.5028 GB, free: 25.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3426, allocations: 112.2 kB / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3426, allocations: 6.531 kB / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3426, allocations: 0 / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3426, allocations: 0 / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.3427, allocations: 20.34 kB / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3427, allocations: 6.281 kB / 0.5029 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.3427, allocations: 2.062 kB / 0.5029 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3428, allocations: 5.672 kB / 0.5029 GB, free: 25.82 MB / 446.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 7.611e-05/0.3428, allocations: 141.3 kB / 0.5031 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.3429, allocations: 16.47 kB / 0.5031 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3431, allocations: 138.4 kB / 0.5032 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3431, allocations: 0 / 0.5032 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3431, allocations: 0 / 0.5032 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3431, allocations: 0 / 0.5032 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.3434, allocations: 365.8 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3434, allocations: 3.062 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.3435, allocations: 6.375 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3435, allocations: 3.219 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3435, allocations: 0 / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3435, allocations: 6.422 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3435, allocations: 0 / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3437, allocations: 219.8 kB / 0.5038 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.3437, allocations: 18.45 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3437, allocations: 3.281 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.3438, allocations: 6.75 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3438, allocations: 10.25 kB / 0.5038 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3439, allocations: 6.844 kB / 0.5038 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.344, allocations: 222.7 kB / 0.5041 GB, free: 24.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 0.5041 GB, free: 24.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3443, allocations: 22.16 kB / 0.5041 GB, free: 24.99 MB / 446.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 (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.001757/0.346, allocations: 492.5 kB / 0.5045 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.3462, allocations: 72.03 kB / 0.5046 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3462, allocations: 0 / 0.5046 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.3463, allocations: 23.17 kB / 0.5046 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3466, allocations: 29.62 kB / 0.5047 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3471, allocations: 320.3 kB / 0.505 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.3472, allocations: 111.2 kB / 0.5051 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.3472, allocations: 20.88 kB / 0.5051 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3472, allocations: 16.75 kB / 0.5051 GB, free: 24.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3472, allocations: 0 / 0.5051 GB, free: 24.4 MB / 446.1 MB Notification: Performance of Templates: time 0.004641/0.3519, allocations: 1.865 MB / 0.5069 GB, free: 24.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.973252885974944]