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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 196.7 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.5 MB / 245.4 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008243/0.000824, allocations: 106.5 kB / 297.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2219, allocations: 51.28 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09562/0.3176, allocations: 79.54 MB / 488.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.3179, allocations: 75.95 kB / 489 MB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007393/0.3253, allocations: 2.709 MB / 491.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.509e-06/0.3253, allocations: 0 / 491.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3254, allocations: 8 kB / 491.7 MB, free: 9.145 MB / 362.7 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.0005439/0.3259, allocations: 425.5 kB / 492.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.326, allocations: 12.03 kB / 492.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.326, allocations: 12.75 kB / 492.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3263, allocations: 212.1 kB / 492.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3263, allocations: 16.36 kB / 492.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.3264, allocations: 20.31 kB / 492.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.3268, allocations: 227.1 kB / 492.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3269, allocations: 4.125 kB / 492.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3269, allocations: 7.938 kB / 492.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3269, allocations: 4 kB / 492.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.3271, allocations: 87.88 kB / 492.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.3278, allocations: 0.5921 MB / 493.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.3281, allocations: 153.5 kB / 493.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3283, allocations: 86.56 kB / 493.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3283, allocations: 7.984 kB / 493.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3284, allocations: 30.56 kB / 493.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3284, allocations: 0 / 493.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004791/0.3289, allocations: 193.4 kB / 493.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.329, allocations: 119 kB / 493.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3291, allocations: 142.3 kB / 494 MB, free: 6.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3291, allocations: 25.7 kB / 494 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.3292, allocations: 116 kB / 494.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3292, allocations: 27.64 kB / 494.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3292, allocations: 0 / 494.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3294, allocations: 326.8 kB / 494.5 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3295, allocations: 51.84 kB / 494.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.3297, allocations: 140.7 kB / 494.7 MB, free: 5.82 MB / 362.7 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.0004366/0.3301, allocations: 290.6 kB / 495 MB, free: 5.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3301, allocations: 4 kB / 495 MB, free: 5.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003872/0.3305, allocations: 217.6 kB / 495.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3305, allocations: 8 kB / 495.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3305, allocations: 0 / 495.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3306, allocations: 8.234 kB / 495.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3307, allocations: 47.91 kB / 495.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3307, allocations: 7.984 kB / 495.3 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3309, allocations: 23.84 kB / 495.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3309, allocations: 8 kB / 495.3 MB, free: 5.145 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.331, allocations: 141.7 kB / 495.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.3312, allocations: 97.38 kB / 495.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.3312, allocations: 12.72 kB / 495.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3312, allocations: 4 kB / 495.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3312, allocations: 0 / 495.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.3312, allocations: 3.984 kB / 495.5 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.3315, allocations: 205.6 kB / 495.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3315, allocations: 0 / 495.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.3317, allocations: 55.84 kB / 495.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3318, allocations: 0 / 495.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3318, allocations: 8 kB / 495.8 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3318, allocations: 0 / 495.8 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3318, allocations: 0 / 495.8 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.3323, allocations: 399.3 kB / 496.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3324, allocations: 88.98 kB / 496.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3324, allocations: 4 kB / 496.3 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3326, allocations: 20.05 kB / 496.3 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.3326, allocations: 3.984 kB / 496.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3326, allocations: 4.094 kB / 496.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.3327, allocations: 110.1 kB / 496.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3327, allocations: 0 / 496.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.333, allocations: 31.84 kB / 496.5 MB, free: 3.875 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000131/0.3332, allocations: 107.2 kB / 496.6 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3335, allocations: 139.9 kB / 496.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3335, allocations: 4 kB / 496.7 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.3336, allocations: 39.97 kB / 496.7 MB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.3341, allocations: 61.77 kB / 496.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.335, allocations: 0.4961 MB / 497.3 MB, free: 3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3353, allocations: 0.7165 MB / 498 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.3354, allocations: 9.078 kB / 498 MB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.3354, allocations: 19.44 kB / 498 MB, free: 2.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3355, allocations: 0 / 498 MB, free: 2.23 MB / 362.7 MB Notification: Performance of Templates: time 0.00357/0.339, allocations: 1.138 MB / 499.2 MB, free: 1.129 MB / 362.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches