Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 59.86 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2242, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003498/0.2277, allocations: 1.852 MB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.2286, allocations: 466.8 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.2287, allocations: 4 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.482e-05/0.2288, allocations: 7.875 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.2289, allocations: 31.7 kB / 434.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.229, allocations: 35.97 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2292, allocations: 103.6 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2293, allocations: 29.23 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.2294, allocations: 43.84 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.24e-05/0.2295, allocations: 39.84 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2295, allocations: 8 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.2296, allocations: 8 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.2296, allocations: 23.92 kB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.2297, allocations: 39.8 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2298, allocations: 102.5 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2298, allocations: 4 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2298, allocations: 0 / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2299, allocations: 0 / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005916/0.2304, allocations: 330.2 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2305, allocations: 8.031 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2305, allocations: 8.891 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2308, allocations: 154.2 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2308, allocations: 4.562 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.2309, allocations: 12.33 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2312, allocations: 123.3 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2312, allocations: 0 / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2312, allocations: 8 kB / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2312, allocations: 0 / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2314, allocations: 71.88 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.2321, allocations: 419.6 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.2324, allocations: 86.52 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2325, allocations: 36.84 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2325, allocations: 3.984 kB / 436.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2326, allocations: 30.56 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2326, allocations: 0 / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004807/0.233, allocations: 125.5 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2331, allocations: 67.34 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2333, allocations: 136.1 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2333, allocations: 25.7 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.2334, allocations: 111.9 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.2334, allocations: 27.78 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.2335, allocations: 29.67 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.2337, allocations: 322.8 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2338, allocations: 31.97 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.234, allocations: 68.27 kB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.2342, allocations: 108.1 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2342, allocations: 0 / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003018/0.2345, allocations: 141.5 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2345, allocations: 4 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2345, allocations: 0 / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2345, allocations: 4 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2347, allocations: 31.97 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2347, allocations: 3.938 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.2348, allocations: 15.94 kB / 437.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.2348, allocations: 4 kB / 437.6 MB, free: 1.246 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.533e-05/0.2349, allocations: 125.8 kB / 437.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.235, allocations: 12.02 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.235, allocations: 12.38 kB / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.235, allocations: 0 / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.235, allocations: 0 / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.235, allocations: 7.891 kB / 437.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.235, allocations: 4 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2352, allocations: 8.078 kB / 437.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.2353, allocations: 15.86 kB / 437.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004192/0.2357, allocations: 200.9 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006545/0.2363, allocations: 314.7 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001109/0.2365, allocations: 32.02 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.2365, allocations: 95.27 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of Backend: time 1.91e-07/0.2365, allocations: 0 / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.237, allocations: 130.3 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of SimCode: time 0.001152/0.2381, allocations: 0.7988 MB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Templates: time 0.004415/0.2425, allocations: 1.421 MB / 440.8 MB, free: 14.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.231935273994168]