Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.00146/0.00146, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00239/0.00239, allocations: 213.3 kB / 24.48 MB, free: 3.941 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 2.011/2.011, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 51.92 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3297, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004787/0.3345, allocations: 2.028 MB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.336, allocations: 0.5103 MB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3362, allocations: 3.938 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.3363, allocations: 19.8 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.3365, allocations: 31.72 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3369, allocations: 54.44 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.3373, allocations: 135.4 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.3375, allocations: 44.94 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3376, allocations: 43.86 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3378, allocations: 63.69 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.3378, allocations: 12 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.868e-05/0.3378, allocations: 8 kB / 435.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.3379, allocations: 23.92 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.3379, allocations: 51.67 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3382, allocations: 139.1 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3382, allocations: 4 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3382, allocations: 3.938 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3383, allocations: 0 / 435.5 MB, free: 3.555 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008766/0.3391, allocations: 359.8 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3392, allocations: 12.03 kB / 435.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.3393, allocations: 12.84 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3397, allocations: 146.3 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3397, allocations: 16.38 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.3398, allocations: 16.33 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.3405, allocations: 234.9 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3405, allocations: 0 / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3405, allocations: 4 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3405, allocations: 4 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.3409, allocations: 91.8 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.3417, allocations: 0.4925 MB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.3422, allocations: 135.9 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3424, allocations: 74.64 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.3424, allocations: 7.922 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3424, allocations: 46.55 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.3424, allocations: 0 / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006556/0.3431, allocations: 173.4 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3432, allocations: 118.8 kB / 437.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3434, allocations: 134.2 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3434, allocations: 25.7 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.3435, allocations: 124 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3435, allocations: 27.78 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.3436, allocations: 41.83 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3438, allocations: 323.2 kB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3439, allocations: 39.97 kB / 438.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3442, allocations: 141.6 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.3447, allocations: 197.6 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3447, allocations: 3.938 kB / 438.4 MB, free: 280 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005284/0.3453, allocations: 201.5 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3453, allocations: 12.09 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3453, allocations: 4 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3453, allocations: 4 kB / 438.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.3455, allocations: 47.91 kB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3455, allocations: 4 kB / 438.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3457, allocations: 19.97 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3457, allocations: 8 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: PI.y = PI.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001616/0.3459, allocations: 133.8 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.3461, allocations: 97.52 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.3462, allocations: 16.72 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3462, allocations: 0 / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3462, allocations: 7.984 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3462, allocations: 0 / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3465, allocations: 141.1 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3465, allocations: 0 / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3468, allocations: 43.97 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.3468, allocations: 7.875 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3468, allocations: 7.984 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.3468, allocations: 4 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3468, allocations: 4 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000697/0.3475, allocations: 378 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3476, allocations: 15.91 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3476, allocations: 4 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3478, allocations: 8 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.3479, allocations: 11.92 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3479, allocations: 8 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.348, allocations: 106.6 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.348, allocations: 3.938 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005089/0.3485, allocations: 31.95 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001274/0.3486, allocations: 103.2 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.3491, allocations: 125 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3491, allocations: 7.938 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3492, allocations: 31.91 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.3499, allocations: 60.16 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3511, allocations: 410.3 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.3512, allocations: 102.7 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.3513, allocations: 13.08 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3513, allocations: 11.44 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3513, allocations: 8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.006451/0.3578, allocations: 1.581 MB / 442.2 MB, free: 12.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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: 6.52740635900409]