Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001937, allocations: 112.4 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 209.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.91 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 50.54 MB / 409.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003874/0.3386, allocations: 2.065 MB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3398, allocations: 0.5338 MB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3399, allocations: 3.938 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.3401, allocations: 23.8 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.3402, allocations: 23.78 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.3405, allocations: 59.88 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3407, allocations: 127.5 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.341, allocations: 57.78 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.3411, allocations: 51.78 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3412, allocations: 59.7 kB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.3412, allocations: 8 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.3412, allocations: 12 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.3413, allocations: 27.91 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.3413, allocations: 59.67 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3416, allocations: 127.3 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3416, allocations: 0 / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3416, allocations: 4 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3416, allocations: 0 / 413.1 MB, free: 14.4 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.0007105/0.3423, allocations: 431 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3424, allocations: 12.03 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.3424, allocations: 12.84 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.3428, allocations: 219.9 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3428, allocations: 12.38 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.3429, allocations: 20.36 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.3434, allocations: 230.9 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3435, allocations: 7.938 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3435, allocations: 8 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3435, allocations: 4 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3437, allocations: 79.88 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.3445, allocations: 0.5959 MB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.345, allocations: 143.9 kB / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3451, allocations: 78.62 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3452, allocations: 7.984 kB / 415 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3452, allocations: 38.5 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.3452, allocations: 0 / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005139/0.3457, allocations: 181.3 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.3458, allocations: 110.8 kB / 415.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.346, allocations: 134.1 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.346, allocations: 29.7 kB / 415.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3461, allocations: 119.9 kB / 415.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3461, allocations: 27.64 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.3462, allocations: 37.84 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3463, allocations: 322.8 kB / 415.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3464, allocations: 35.97 kB / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3466, allocations: 149 kB / 416.1 MB, free: 11.07 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.0004663/0.3471, allocations: 278.7 kB / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3471, allocations: 0 / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003992/0.3475, allocations: 201 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3476, allocations: 8 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3476, allocations: 4 kB / 416.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3476, allocations: 4.469 kB / 416.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3478, allocations: 52.28 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3478, allocations: 4 kB / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3479, allocations: 23.83 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3479, allocations: 8 kB / 416.7 MB, free: 10.42 MB / 334.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.000129/0.3481, allocations: 145.5 kB / 416.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3482, allocations: 93.44 kB / 416.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.3483, allocations: 20.94 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3483, allocations: 0 / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3483, allocations: 7.984 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3483, allocations: 4 kB / 417 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.3486, allocations: 201.5 kB / 417.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3486, allocations: 0 / 417.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.3489, allocations: 47.95 kB / 417.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3489, allocations: 4 kB / 417.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3489, allocations: 0 / 417.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3489, allocations: 7.938 kB / 417.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3489, allocations: 0 / 417.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.3495, allocations: 391.3 kB / 417.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.3496, allocations: 85.05 kB / 417.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3496, allocations: 4 kB / 417.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3498, allocations: 7.984 kB / 417.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3498, allocations: 12.06 kB / 417.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3499, allocations: 4 kB / 417.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.3499, allocations: 113.6 kB / 417.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3499, allocations: 0 / 417.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00034/0.3503, allocations: 31.84 kB / 417.9 MB, free: 9.156 MB / 334.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.0001315/0.3504, allocations: 99.25 kB / 417.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.3508, allocations: 131.7 kB / 418.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3508, allocations: 0 / 418.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3509, allocations: 23.98 kB / 418.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.3515, allocations: 65.19 kB / 418.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.3524, allocations: 443.8 kB / 418.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3528, allocations: 0.7162 MB / 419.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.3529, allocations: 15.44 kB / 419.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3529, allocations: 0 / 419.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of Templates: time 0.003674/0.3565, allocations: 1.653 MB / 421 MB, free: 5.969 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches