Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001541/0.001541, allocations: 83.73 kB / 21.25 MB, free: 392 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.001925/0.001925, allocations: 161.3 kB / 24.5 MB, free: 3.449 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.557/1.557, allocations: 177.1 MB / 204.7 MB, free: 8.957 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.207/0.207, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 79.88 kB / 443.2 MB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3246, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002509/0.3271, allocations: 1.802 MB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3285, allocations: 1.043 MB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.3286, allocations: 0 / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.329, allocations: 304.5 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.3294, allocations: 253.3 kB / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3296, allocations: 113.9 kB / 0.5007 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.3298, allocations: 265.8 kB / 0.501 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.3298, allocations: 8.094 kB / 0.501 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.33, allocations: 122.8 kB / 0.5011 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3302, allocations: 213.5 kB / 0.5013 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3302, allocations: 6.438 kB / 0.5013 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.3303, allocations: 51.05 kB / 0.5014 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3304, allocations: 138.5 kB / 0.5015 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.3305, allocations: 107.1 kB / 0.5016 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.3309, allocations: 374.1 kB / 0.502 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3309, allocations: 11.09 kB / 0.502 GB, free: 27.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3309, allocations: 0 / 0.502 GB, free: 27.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3309, allocations: 0 / 0.502 GB, free: 27.26 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.000818/0.3317, allocations: 0.6752 MB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3317, allocations: 9.219 kB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.3318, allocations: 50.61 kB / 0.5027 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.3323, allocations: 391.6 kB / 0.5031 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3323, allocations: 3.562 kB / 0.5031 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.3323, allocations: 4.359 kB / 0.5031 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3325, allocations: 92.22 kB / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3325, allocations: 3.156 kB / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3325, allocations: 4 kB / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3325, allocations: 0 / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3326, allocations: 41.34 kB / 0.5032 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.3329, allocations: 298.9 kB / 0.5035 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3331, allocations: 103.1 kB / 0.5036 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.3332, allocations: 41.62 kB / 0.5036 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3332, allocations: 6.562 kB / 0.5036 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.3334, allocations: 110.8 kB / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3334, allocations: 0 / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004252/0.3339, allocations: 214.3 kB / 0.5039 GB, free: 25.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3339, allocations: 83.98 kB / 0.504 GB, free: 25.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008456/0.3347, allocations: 1.033 MB / 0.505 GB, free: 25.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3347, allocations: 28.73 kB / 0.5051 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3349, allocations: 236.2 kB / 0.5053 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3349, allocations: 34.03 kB / 0.5053 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3349, allocations: 25.95 kB / 0.5053 GB, free: 25.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.335, allocations: 369.9 kB / 0.5057 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.3351, allocations: 29.53 kB / 0.5057 GB, free: 24.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.3352, allocations: 67.12 kB / 0.5058 GB, free: 24.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3353, allocations: 94.48 kB / 0.5059 GB, free: 24.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3353, allocations: 0 / 0.5059 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002528/0.3356, allocations: 180.1 kB / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3356, allocations: 10.34 kB / 0.5061 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3356, allocations: 6.578 kB / 0.5061 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3356, allocations: 3.938 kB / 0.5061 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3357, allocations: 22.31 kB / 0.5061 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3357, allocations: 3.375 kB / 0.5061 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.3358, allocations: 13.92 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3358, allocations: 7.031 kB / 0.5061 GB, free: 24.6 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001527/0.336, allocations: 220.5 kB / 0.5063 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.336, allocations: 55.94 kB / 0.5064 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3364, allocations: 203.4 kB / 0.5066 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3364, allocations: 3.062 kB / 0.5066 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3364, allocations: 4.062 kB / 0.5066 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3364, allocations: 0 / 0.5066 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3366, allocations: 259.6 kB / 0.5068 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3366, allocations: 0 / 0.5068 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.3366, allocations: 20.36 kB / 0.5068 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3366, allocations: 3.031 kB / 0.5068 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3366, allocations: 7.938 kB / 0.5069 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3366, allocations: 2.969 kB / 0.5069 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3366, allocations: 0 / 0.5069 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3369, allocations: 218.5 kB / 0.5071 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.337, allocations: 74.14 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.3371, allocations: 6.938 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.3371, allocations: 3.094 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3372, allocations: 17.83 kB / 0.5072 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3372, allocations: 6.156 kB / 0.5072 GB, free: 23.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005892/0.3378, allocations: 0.7737 MB / 0.5079 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3378, allocations: 3.938 kB / 0.5079 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3381, allocations: 46.23 kB / 0.508 GB, free: 23.69 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001498/0.3396, allocations: 421.4 kB / 0.5084 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3398, allocations: 87.02 kB / 0.5085 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3398, allocations: 0 / 0.5085 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.3399, allocations: 48.48 kB / 0.5085 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3403, allocations: 80.44 kB / 0.5086 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.3412, allocations: 0.875 MB / 0.5094 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3415, allocations: 237.8 kB / 0.5097 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.3416, allocations: 50.36 kB / 0.5097 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.3417, allocations: 27.81 kB / 0.5097 GB, free: 22.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3417, allocations: 4 kB / 0.5097 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Templates: time 0.008955/0.3506, allocations: 3.993 MB / 0.5136 GB, free: 22.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.230991385062225]