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.001445/0.001445, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008624/0.0008624, allocations: 90.58 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.558e-05, allocations: 0 / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09129, allocations: 51.47 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4538, allocations: 78.87 MB / 474 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4541, allocations: 73.23 kB / 474.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009007/0.4631, allocations: 2.697 MB / 476.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4632, allocations: 0 / 476.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4632, allocations: 4.188 kB / 476.8 MB, free: 11.4 MB / 346.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.0005049/0.4637, allocations: 403.7 kB / 477.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4638, allocations: 12.03 kB / 477.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.4638, allocations: 19.81 kB / 477.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.464, allocations: 202.9 kB / 477.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4641, allocations: 4.859 kB / 477.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.4641, allocations: 9.406 kB / 477.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001794/0.4643, allocations: 54.09 kB / 477.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.4647, allocations: 197.5 kB / 477.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4647, allocations: 0 / 477.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4647, allocations: 0 / 477.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4648, allocations: 4 kB / 477.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.4654, allocations: 0.5576 MB / 478.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.4657, allocations: 129.1 kB / 478.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.4658, allocations: 59.64 kB / 478.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4658, allocations: 1.453 kB / 478.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4658, allocations: 38.12 kB / 478.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.4659, allocations: 0 / 478.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002966/0.4662, allocations: 112.8 kB / 478.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4662, allocations: 112.1 kB / 478.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.4663, allocations: 124 kB / 478.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.4663, allocations: 25.7 kB / 478.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.4664, allocations: 111.4 kB / 478.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.4664, allocations: 28.58 kB / 479 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.4664, allocations: 0 / 479 MB, free: 9.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.4665, allocations: 322.6 kB / 479.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.4665, allocations: 27.22 kB / 479.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.4666, allocations: 117.2 kB / 479.4 MB, free: 8.805 MB / 346.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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.4668, allocations: 129.6 kB / 479.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4669, allocations: 0 / 479.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002839/0.4672, allocations: 149.4 kB / 479.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4672, allocations: 12.31 kB / 479.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4672, allocations: 4 kB / 479.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4672, allocations: 4 kB / 479.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4674, allocations: 53.89 kB / 479.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4675, allocations: 7.938 kB / 479.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.4676, allocations: 23.12 kB / 479.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.4677, allocations: 8 kB / 479.8 MB, free: 8.457 MB / 346.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 = 0.0. 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 () * 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 6.868e-05/0.4677, allocations: 114.7 kB / 479.9 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.468, allocations: 77.02 kB / 480 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.468, allocations: 16.84 kB / 480 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4681, allocations: 0 / 480 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4681, allocations: 3.953 kB / 480 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4681, allocations: 13.56 kB / 480 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4684, allocations: 177.3 kB / 480.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4684, allocations: 0 / 480.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.4687, allocations: 49.61 kB / 480.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4687, allocations: 0 / 480.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4687, allocations: 2.688 kB / 480.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4687, allocations: 5.594 kB / 480.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4687, allocations: 3.25 kB / 480.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.469, allocations: 360.3 kB / 480.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.469, allocations: 90.34 kB / 480.7 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4691, allocations: 2.156 kB / 480.7 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.4692, allocations: 14.72 kB / 480.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.4693, allocations: 6.672 kB / 480.7 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4693, allocations: 4 kB / 480.7 MB, free: 7.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.4693, allocations: 108.3 kB / 480.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4693, allocations: 0 / 480.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.4697, allocations: 23.91 kB / 480.9 MB, free: 7.457 MB / 346.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 () * 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 8.89e-05/0.4698, allocations: 104.4 kB / 481 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.47, allocations: 83.61 kB / 481 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.47, allocations: 0.9375 kB / 481 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.47, allocations: 15.69 kB / 481.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.4704, allocations: 54.42 kB / 481.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.471, allocations: 299.7 kB / 481.4 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4711, allocations: 0.7196 MB / 482.1 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.4712, allocations: 13.02 kB / 482.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.4712, allocations: 15.44 kB / 482.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4712, allocations: 3.938 kB / 482.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of Templates: time 0.002896/0.4741, allocations: 1.087 MB / 483.2 MB, free: 5.523 MB / 346.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/jenkins/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