Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001986/0.001986, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002548/0.002548, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.524/1.524, allocations: 177 MB / 204.1 MB, free: 9.164 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.2222/0.2222, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.069e-05, allocations: 2.281 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004489/0.00452, allocations: 1.796 MB / 444.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.007117, allocations: 1.04 MB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.007203, allocations: 4 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.007763, allocations: 307 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.008324, allocations: 255.1 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.008574, allocations: 111.6 kB / 446.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.008937, allocations: 271.2 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.008996, allocations: 5.812 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.009225, allocations: 151.6 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.00951, allocations: 204 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.009541, allocations: 8 kB / 446.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.009661, allocations: 47.92 kB / 446.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.009828, allocations: 136.5 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.009946, allocations: 71.66 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.01041, allocations: 346.8 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.01042, allocations: 0 / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01042, allocations: 4 kB / 447.4 MB, free: 500 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.01042, allocations: 0 / 447.4 MB, free: 500 kB / 366.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.2098/0.2202, allocations: 0.6754 MB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2203, allocations: 9.656 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.2203, allocations: 50.11 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.221, allocations: 387.8 kB / 448.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.221, allocations: 2.531 kB / 448.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.221, allocations: 3.5 kB / 448.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.2212, allocations: 92.47 kB / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2212, allocations: 192 / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2212, allocations: 6.875 kB / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2212, allocations: 0 / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2214, allocations: 41.11 kB / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.2217, allocations: 303.3 kB / 449 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.222, allocations: 106 kB / 449.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2221, allocations: 45.19 kB / 449.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2221, allocations: 2.844 kB / 449.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.2223, allocations: 107.7 kB / 449.3 MB, free: 18.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.2223, allocations: 0 / 449.3 MB, free: 18.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005247/0.2228, allocations: 214.4 kB / 449.5 MB, free: 18.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2229, allocations: 80.31 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2239, allocations: 1.038 MB / 450.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.224, allocations: 31.5 kB / 450.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.2241, allocations: 237 kB / 450.8 MB, free: 17.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.2242, allocations: 25.28 kB / 450.9 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.2242, allocations: 29.58 kB / 450.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2243, allocations: 366.3 kB / 451.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.2244, allocations: 28.97 kB / 451.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.2245, allocations: 64.14 kB / 451.3 MB, free: 17.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2247, allocations: 96.2 kB / 451.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2247, allocations: 4.719 kB / 451.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002947/0.225, allocations: 176.5 kB / 451.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.225, allocations: 8.531 kB / 451.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.225, allocations: 3.672 kB / 451.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.225, allocations: 1.469 kB / 451.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2252, allocations: 19.69 kB / 451.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2252, allocations: 12.09 kB / 451.7 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2253, allocations: 8.953 kB / 451.7 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2253, allocations: 12.23 kB / 451.7 MB, free: 17.4 MB / 366.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.0002078/0.2255, allocations: 214.7 kB / 451.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.2256, allocations: 58.56 kB / 451.9 MB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.226, allocations: 204.9 kB / 452.1 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.226, allocations: 1.375 kB / 452.1 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.226, allocations: 0 / 452.1 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.226, allocations: 9.797 kB / 452.2 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.2263, allocations: 271.2 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2263, allocations: 2.125 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.2264, allocations: 9.562 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2264, allocations: 1.375 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2264, allocations: 8.266 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2264, allocations: 0 / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2264, allocations: 1.375 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2267, allocations: 222 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.2268, allocations: 61.5 kB / 452.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.2269, allocations: 7.5 kB / 452.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.227, allocations: 5 kB / 452.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.227, allocations: 13.14 kB / 452.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.227, allocations: 10.19 kB / 452.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.2278, allocations: 0.771 MB / 453.5 MB, free: 16.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2278, allocations: 4 kB / 453.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.228, allocations: 48.59 kB / 453.6 MB, free: 16.52 MB / 366.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.001522/0.2296, allocations: 434.3 kB / 454 MB, free: 16.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.2298, allocations: 89.55 kB / 454.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2298, allocations: 3.938 kB / 454.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2299, allocations: 41.61 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.2304, allocations: 71.55 kB / 454.2 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2314, allocations: 0.8735 MB / 455.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2316, allocations: 243.4 kB / 455.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.2318, allocations: 56.25 kB / 455.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.2318, allocations: 28.27 kB / 455.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2318, allocations: 4 kB / 455.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.009417/0.2412, allocations: 3.972 MB / 459.4 MB, free: 15.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.1551118567585945]