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.001266/0.001266, allocations: 172.8 kB / 16.76 MB, free: 5.051 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.223/1.223, allocations: 205 MB / 222.5 MB, free: 9.074 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.0007305/0.0007305, allocations: 98.86 kB / 270.5 MB, free: 8.672 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.06213/0.06213, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06365/0.06399, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.001661/0.06569, allocations: 1.776 MB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006108/0.06632, allocations: 0.5346 MB / 444 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.06644, allocations: 8 kB / 444 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.06654, allocations: 15.86 kB / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.06661, allocations: 15.86 kB / 444 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.06683, allocations: 47.95 kB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.06697, allocations: 127.5 kB / 444.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.06709, allocations: 49.75 kB / 444.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.06715, allocations: 39.8 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.06721, allocations: 51.66 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.06724, allocations: 4 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.06726, allocations: 4 kB / 444.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.06728, allocations: 15.92 kB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.06733, allocations: 55.66 kB / 444.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.06742, allocations: 83.77 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.06743, allocations: 4 kB / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.06744, allocations: 0 / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.06745, allocations: 0 / 444.5 MB, free: 13.55 MB / 298.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.000422/0.06788, allocations: 423 kB / 444.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.06791, allocations: 8.031 kB / 444.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.06796, allocations: 16.75 kB / 444.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.06811, allocations: 216 kB / 445.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.06812, allocations: 12.38 kB / 445.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.06815, allocations: 12.38 kB / 445.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.06853, allocations: 234.9 kB / 445.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.06855, allocations: 0 / 445.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.06857, allocations: 7.938 kB / 445.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.06858, allocations: 4 kB / 445.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.06881, allocations: 99.86 kB / 445.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.06926, allocations: 0.5998 MB / 446.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.06954, allocations: 155.9 kB / 446.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.06969, allocations: 82.62 kB / 446.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.06971, allocations: 0 / 446.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.06973, allocations: 42.5 kB / 446.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.06974, allocations: 0 / 446.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004414/0.07019, allocations: 189.4 kB / 446.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.07024, allocations: 118.9 kB / 446.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.07032, allocations: 138.1 kB / 446.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.07034, allocations: 25.7 kB / 446.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.07039, allocations: 119.9 kB / 447 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.07042, allocations: 23.73 kB / 447 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.07045, allocations: 17.72 kB / 447 MB, free: 10.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.07049, allocations: 326.8 kB / 447.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.07061, allocations: 47.97 kB / 447.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.07075, allocations: 141.6 kB / 447.5 MB, free: 10.2 MB / 298.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.0003539/0.07111, allocations: 290.7 kB / 447.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.07112, allocations: 4 kB / 447.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003185/0.07144, allocations: 213.2 kB / 448 MB, free: 9.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.07146, allocations: 4 kB / 448 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.07147, allocations: 4 kB / 448 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.07149, allocations: 8 kB / 448 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.07164, allocations: 47.97 kB / 448.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.07165, allocations: 8.312 kB / 448.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.07175, allocations: 28.08 kB / 448.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.07177, allocations: 12 kB / 448.1 MB, free: 9.516 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.07185, allocations: 125.8 kB / 448.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.07198, allocations: 97.41 kB / 448.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.07202, allocations: 16.7 kB / 448.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.07203, allocations: 4 kB / 448.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.07204, allocations: 0 / 448.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.07204, allocations: 3.938 kB / 448.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.07224, allocations: 221.4 kB / 448.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.07225, allocations: 4.234 kB / 448.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.07245, allocations: 47.95 kB / 448.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.07246, allocations: 0 / 448.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.07248, allocations: 12 kB / 448.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.07248, allocations: 0 / 448.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.07249, allocations: 3.984 kB / 448.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.07292, allocations: 399.4 kB / 449 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.07296, allocations: 92.95 kB / 449.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.07299, allocations: 4 kB / 449.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.07312, allocations: 15.98 kB / 449.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.07316, allocations: 4 kB / 449.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.07317, allocations: 4 kB / 449.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.07322, allocations: 103.2 kB / 449.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07322, allocations: 0 / 449.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.07354, allocations: 28 kB / 449.3 MB, free: 8.25 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.774e-05/0.0736, allocations: 103.2 kB / 449.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.0739, allocations: 143 kB / 449.5 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.07391, allocations: 0 / 449.5 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.07401, allocations: 31.98 kB / 449.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.07447, allocations: 67.88 kB / 449.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.07516, allocations: 486.5 kB / 450.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.07527, allocations: 0.7126 MB / 450.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.07531, allocations: 19.38 kB / 450.8 MB, free: 6.629 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.07532, allocations: 3.938 kB / 450.8 MB, free: 6.625 MB / 298.7 MB Notification: Performance of Templates: time 0.002271/0.0776, allocations: 1.591 MB / 452.4 MB, free: 5.039 MB / 298.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/jenkins1/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