Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 182.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.2 MB / 219 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000985/0.0009848, allocations: 90.59 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09775/0.09775, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.603e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5339, allocations: 80.11 MB / 0.5044 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5342, allocations: 70.91 kB / 0.5044 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00624/0.5404, allocations: 2.604 MB / 0.507 GB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5404, allocations: 1.969 kB / 0.507 GB, free: 11.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5405, allocations: 7.812 kB / 0.507 GB, free: 11.19 MB / 330.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.0004168/0.5409, allocations: 400.3 kB / 0.5074 GB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5409, allocations: 11.66 kB / 0.5074 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.541, allocations: 15.66 kB / 0.5074 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.5412, allocations: 202.1 kB / 0.5076 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5412, allocations: 15.61 kB / 0.5076 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.5412, allocations: 14.31 kB / 0.5076 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.5416, allocations: 214.4 kB / 0.5078 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5416, allocations: 0 / 0.5078 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5417, allocations: 7.438 kB / 0.5078 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5417, allocations: 0 / 0.5078 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5418, allocations: 58.81 kB / 0.5079 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5423, allocations: 0.5954 MB / 0.5085 GB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.5426, allocations: 148.1 kB / 0.5086 GB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.5427, allocations: 60.56 kB / 0.5087 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.5427, allocations: 3.938 kB / 0.5087 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5427, allocations: 38.2 kB / 0.5087 GB, free: 9.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.5427, allocations: 4 kB / 0.5087 GB, free: 9.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002375/0.543, allocations: 111.3 kB / 0.5088 GB, free: 9.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5431, allocations: 110.2 kB / 0.5089 GB, free: 9.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.5431, allocations: 125.2 kB / 0.509 GB, free: 9.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.5432, allocations: 33.05 kB / 0.5091 GB, free: 9.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.5432, allocations: 122 kB / 0.5092 GB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5432, allocations: 13.88 kB / 0.5092 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.5432, allocations: 2.875 kB / 0.5092 GB, free: 9.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.5433, allocations: 328.8 kB / 0.5095 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.5434, allocations: 25.16 kB / 0.5095 GB, free: 8.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.5434, allocations: 127.8 kB / 0.5097 GB, free: 8.824 MB / 330.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.0001894/0.5436, allocations: 133.8 kB / 0.5098 GB, free: 8.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5437, allocations: 3.844 kB / 0.5098 GB, free: 8.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002178/0.5439, allocations: 172.5 kB / 0.51 GB, free: 8.641 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5439, allocations: 7.797 kB / 0.51 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5439, allocations: 3.812 kB / 0.51 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5439, allocations: 11.7 kB / 0.51 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.5441, allocations: 46.62 kB / 0.51 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5441, allocations: 15.62 kB / 0.51 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.5442, allocations: 26.67 kB / 0.5101 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.5442, allocations: 7.531 kB / 0.5101 GB, free: 8.602 MB / 330.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.876e-05/0.5443, allocations: 115.1 kB / 0.5102 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5444, allocations: 91.53 kB / 0.5103 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.5445, allocations: 23.47 kB / 0.5103 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5445, allocations: 0 / 0.5103 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5445, allocations: 11.62 kB / 0.5103 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5445, allocations: 0 / 0.5103 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.5447, allocations: 208.3 kB / 0.5105 GB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5448, allocations: 0 / 0.5105 GB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.545, allocations: 53.97 kB / 0.5105 GB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.545, allocations: 0 / 0.5105 GB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.545, allocations: 7.797 kB / 0.5106 GB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.545, allocations: 3.953 kB / 0.5106 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.545, allocations: 3.844 kB / 0.5106 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.5453, allocations: 365.5 kB / 0.5109 GB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.5453, allocations: 100.6 kB / 0.511 GB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.5454, allocations: 0 / 0.511 GB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5455, allocations: 15.25 kB / 0.511 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.5455, allocations: 7.797 kB / 0.511 GB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.5456, allocations: 3.875 kB / 0.511 GB, free: 7.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.5456, allocations: 101.5 kB / 0.5111 GB, free: 7.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5456, allocations: 0 / 0.5111 GB, free: 7.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000277/0.5459, allocations: 30.09 kB / 0.5112 GB, free: 7.727 MB / 330.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 0.0001016/0.546, allocations: 98.47 kB / 0.5113 GB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.5462, allocations: 98.25 kB / 0.5113 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5462, allocations: 0 / 0.5113 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.5462, allocations: 19.09 kB / 0.5114 GB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5466, allocations: 61.73 kB / 0.5114 GB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.5472, allocations: 317.6 kB / 0.5117 GB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.5474, allocations: 0.7235 MB / 0.5124 GB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.5474, allocations: 12.92 kB / 0.5124 GB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.5475, allocations: 15.28 kB / 0.5125 GB, free: 6.629 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5475, allocations: 384 / 0.5125 GB, free: 6.629 MB / 330.7 MB Notification: Performance of Templates: time 0.003236/0.5507, allocations: 1.161 MB / 0.5136 GB, free: 6.062 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches