Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001359/0.001359, allocations: 79.73 kB / 21.25 MB, free: 396 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.001434/0.001434, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.528/1.528, allocations: 177.1 MB / 204.7 MB, free: 8.992 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.2132/0.2132, 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 79.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003801/0.3471, allocations: 1.803 MB / 0.4991 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.35, allocations: 1.741 MB / 0.5008 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3501, allocations: 3.219 kB / 0.5008 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.3504, allocations: 55.31 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.3508, allocations: 139.3 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.351, allocations: 105.9 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3512, allocations: 208.5 kB / 0.5013 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3512, allocations: 8.312 kB / 0.5013 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3513, allocations: 92.77 kB / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3515, allocations: 71.38 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.3515, allocations: 9.531 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3517, allocations: 111.7 kB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.3518, allocations: 40.3 kB / 0.5016 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3518, allocations: 55.2 kB / 0.5016 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3521, allocations: 224.5 kB / 0.5018 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3521, allocations: 0 / 0.5018 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3521, allocations: 0 / 0.5018 GB, free: 26.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3521, allocations: 0 / 0.5018 GB, free: 26.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006157/0.3527, allocations: 437 kB / 0.5023 GB, free: 26.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3527, allocations: 9.562 kB / 0.5023 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.3528, allocations: 15.09 kB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3531, allocations: 191 kB / 0.5025 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3531, allocations: 3.594 kB / 0.5025 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3531, allocations: 384 / 0.5025 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3533, allocations: 158 kB / 0.5026 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3534, allocations: 0 / 0.5026 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3534, allocations: 7.938 kB / 0.5026 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3534, allocations: 0 / 0.5026 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3535, allocations: 37.73 kB / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.3536, allocations: 164.4 kB / 0.5028 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3539, allocations: 112.3 kB / 0.5029 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.3539, allocations: 34 kB / 0.503 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3539, allocations: 3 kB / 0.503 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3541, allocations: 118.4 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3541, allocations: 4 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004093/0.3545, allocations: 177.3 kB / 0.5033 GB, free: 25.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3546, allocations: 131.5 kB / 0.5034 GB, free: 25.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3548, allocations: 249.4 kB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3548, allocations: 25.7 kB / 0.5036 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.3548, allocations: 117.4 kB / 0.5037 GB, free: 25.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3549, allocations: 30.47 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.3549, allocations: 31.33 kB / 0.5038 GB, free: 25.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.355, allocations: 325.7 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.355, allocations: 38.38 kB / 0.5042 GB, free: 24.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3551, allocations: 125.3 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3553, allocations: 95.05 kB / 0.5044 GB, free: 24.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3553, allocations: 3.031 kB / 0.5044 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000234/0.3555, allocations: 139.9 kB / 0.5045 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3556, allocations: 13.56 kB / 0.5045 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3556, allocations: 7.188 kB / 0.5045 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3556, allocations: 0 / 0.5045 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3557, allocations: 22.31 kB / 0.5045 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3557, allocations: 3.938 kB / 0.5045 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3558, allocations: 17.66 kB / 0.5046 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3558, allocations: 3.094 kB / 0.5046 GB, free: 24.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.082e-05/0.3559, allocations: 137.6 kB / 0.5047 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3559, allocations: 21.22 kB / 0.5047 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.3562, allocations: 162.7 kB / 0.5049 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3562, allocations: 6.688 kB / 0.5049 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3562, allocations: 4 kB / 0.5049 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3562, allocations: 0 / 0.5049 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.3563, allocations: 162.3 kB / 0.505 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3563, allocations: 0 / 0.505 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3564, allocations: 14.33 kB / 0.5051 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3564, allocations: 0 / 0.5051 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3564, allocations: 10.72 kB / 0.5051 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3564, allocations: 0 / 0.5051 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3564, allocations: 2.938 kB / 0.5051 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3567, allocations: 187.6 kB / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.3567, allocations: 29.59 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3567, allocations: 3.938 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3568, allocations: 13.81 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3569, allocations: 6.672 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3569, allocations: 5.75 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.357, allocations: 189.6 kB / 0.5055 GB, free: 23.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.357, allocations: 3.938 kB / 0.5055 GB, free: 23.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.3573, allocations: 51.69 kB / 0.5055 GB, free: 23.96 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001771/0.3591, allocations: 0.516 MB / 0.506 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3593, allocations: 93.67 kB / 0.5061 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3593, allocations: 0 / 0.5061 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3594, allocations: 42.75 kB / 0.5062 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3598, allocations: 59.06 kB / 0.5062 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.3602, allocations: 297.3 kB / 0.5065 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.3603, allocations: 110 kB / 0.5066 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.764e-05/0.3604, allocations: 30.44 kB / 0.5066 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.3604, allocations: 34.44 kB / 0.5067 GB, free: 23.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3604, allocations: 3.938 kB / 0.5067 GB, free: 23.32 MB / 446.1 MB Notification: Performance of Templates: time 0.007562/0.368, allocations: 3.394 MB / 0.51 GB, free: 22.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.141151712043211]