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.001556/0.001556, allocations: 180.1 kB / 15.8 MB, free: 6.34 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.558/1.558, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009129/0.0009129, allocations: 86.88 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07127/0.07127, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 14.12 kB / 392 MB, free: 54.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.0903, allocations: 50.38 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.2017, allocations: 80.18 MB / 0.5103 GB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.202, allocations: 71.97 kB / 0.5104 GB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007205/0.2093, allocations: 2.614 MB / 0.5129 GB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2093, allocations: 0 / 0.5129 GB, free: 7.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.2094, allocations: 8 kB / 0.5129 GB, free: 7.938 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.0006025/0.21, allocations: 423 kB / 0.5133 GB, free: 7.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.21, allocations: 8.031 kB / 0.5133 GB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.2101, allocations: 15.81 kB / 0.5134 GB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2103, allocations: 206.8 kB / 0.5136 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2103, allocations: 19.95 kB / 0.5136 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2104, allocations: 15.94 kB / 0.5136 GB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.2109, allocations: 218.7 kB / 0.5138 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2109, allocations: 3.938 kB / 0.5138 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2109, allocations: 12 kB / 0.5138 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2109, allocations: 0 / 0.5138 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.2112, allocations: 91.88 kB / 0.5139 GB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.2119, allocations: 0.5998 MB / 0.5145 GB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2123, allocations: 159.8 kB / 0.5146 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.2123, allocations: 8.125 kB / 0.5147 GB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2124, allocations: 42.64 kB / 0.5147 GB, free: 5.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2124, allocations: 0 / 0.5147 GB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005327/0.2129, allocations: 193.4 kB / 0.5149 GB, free: 5.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.213, allocations: 110.8 kB / 0.515 GB, free: 5.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.2131, allocations: 125.2 kB / 0.5151 GB, free: 5.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2132, allocations: 29.7 kB / 0.5151 GB, free: 5.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.2132, allocations: 119.9 kB / 0.5152 GB, free: 5.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2133, allocations: 27.64 kB / 0.5153 GB, free: 5.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.2133, allocations: 4 kB / 0.5153 GB, free: 5.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2134, allocations: 326.9 kB / 0.5156 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.2135, allocations: 40.34 kB / 0.5156 GB, free: 4.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2137, allocations: 142.4 kB / 0.5158 GB, free: 4.707 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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.214, allocations: 157.1 kB / 0.5159 GB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.214, allocations: 4 kB / 0.5159 GB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003704/0.2144, allocations: 197.3 kB / 0.5161 GB, free: 4.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2144, allocations: 7.953 kB / 0.5161 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2144, allocations: 4 kB / 0.5161 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.2145, allocations: 8 kB / 0.5161 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2147, allocations: 51.91 kB / 0.5162 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2147, allocations: 4 kB / 0.5162 GB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2148, allocations: 32.23 kB / 0.5162 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2148, allocations: 8 kB / 0.5162 GB, free: 4.219 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 = 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 () * 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.0001045/0.2149, allocations: 125.8 kB / 0.5163 GB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.2151, allocations: 89.91 kB / 0.5164 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.2151, allocations: 20.66 kB / 0.5164 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2151, allocations: 4 kB / 0.5164 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2152, allocations: 96 / 0.5164 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2152, allocations: 7.938 kB / 0.5164 GB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.2154, allocations: 213.5 kB / 0.5167 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2154, allocations: 0 / 0.5167 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.2157, allocations: 47.91 kB / 0.5167 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2157, allocations: 0 / 0.5167 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2157, allocations: 7.984 kB / 0.5167 GB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.2157, allocations: 11.95 kB / 0.5167 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2157, allocations: 3.938 kB / 0.5167 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.2163, allocations: 418.7 kB / 0.5171 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.2164, allocations: 92.98 kB / 0.5172 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2164, allocations: 8 kB / 0.5172 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2165, allocations: 8 kB / 0.5172 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2166, allocations: 3.984 kB / 0.5172 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2166, allocations: 8.234 kB / 0.5172 GB, free: 3.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.2167, allocations: 103.3 kB / 0.5173 GB, free: 2.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2167, allocations: 0 / 0.5173 GB, free: 2.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00031/0.217, allocations: 35.92 kB / 0.5174 GB, free: 2.918 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.000149/0.2171, allocations: 99.25 kB / 0.5175 GB, free: 2.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.2175, allocations: 136.3 kB / 0.5176 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2175, allocations: 0 / 0.5176 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.2176, allocations: 35.91 kB / 0.5176 GB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.218, allocations: 64.39 kB / 0.5177 GB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.2189, allocations: 0.4995 MB / 0.5182 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2192, allocations: 0.7206 MB / 0.5189 GB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.2192, allocations: 17.08 kB / 0.5189 GB, free: 1.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.2193, allocations: 15.44 kB / 0.5189 GB, free: 1.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2193, allocations: 0 / 0.5189 GB, free: 1.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003312/0.2226, allocations: 1.139 MB / 0.52 GB, free: 148 kB / 362.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