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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009287, allocations: 102.6 kB / 16.07 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007538/0.0007537, allocations: 181.8 kB / 16.96 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05827/0.05827, allocations: 12.6 MB / 284 MB, free: 8.59 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006473, allocations: 20.98 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07435/0.075, allocations: 50.39 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002148/0.07719, allocations: 1.751 MB / 397.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.07803, allocations: 0.527 MB / 397.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.07816, allocations: 7.938 kB / 397.8 MB, free: 128 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.07825, allocations: 7.922 kB / 397.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.07834, allocations: 23.78 kB / 397.9 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.0786, allocations: 51.95 kB / 397.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.07879, allocations: 127.5 kB / 398 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.07893, allocations: 53.73 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.07901, allocations: 35.8 kB / 398.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.07909, allocations: 55.7 kB / 398.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.07912, allocations: 4 kB / 398.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.07915, allocations: 7.938 kB / 398.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.07918, allocations: 15.92 kB / 398.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.07925, allocations: 81.38 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.07939, allocations: 111.5 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.0794, allocations: 3.938 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.0794, allocations: 0 / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07942, allocations: 0 / 398.4 MB, free: 15.55 MB / 302.1 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.0005131/0.07994, allocations: 419.1 kB / 398.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.07998, allocations: 8.031 kB / 398.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.08003, allocations: 20.75 kB / 398.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.08023, allocations: 219.9 kB / 399.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.08025, allocations: 8.375 kB / 399.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.08029, allocations: 16.38 kB / 399.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.08074, allocations: 234.9 kB / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.08077, allocations: 0 / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.08079, allocations: 0 / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.0808, allocations: 4 kB / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.08105, allocations: 95.88 kB / 399.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.08167, allocations: 0.5998 MB / 400 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.08199, allocations: 151.9 kB / 400.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.08215, allocations: 78.62 kB / 400.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.08218, allocations: 7.984 kB / 400.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.08221, allocations: 42.5 kB / 400.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.08222, allocations: 0 / 400.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004865/0.08271, allocations: 189.5 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.0828, allocations: 122.8 kB / 400.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.08291, allocations: 138.5 kB / 400.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.08293, allocations: 33.7 kB / 400.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.083, allocations: 111.9 kB / 400.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.08303, allocations: 23.73 kB / 400.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.08307, allocations: 25.66 kB / 400.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.08317, allocations: 322.8 kB / 401.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.08329, allocations: 47.97 kB / 401.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.08346, allocations: 137.7 kB / 401.4 MB, free: 12.19 MB / 302.1 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.0004325/0.0839, allocations: 298.6 kB / 401.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.08392, allocations: 0 / 401.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003832/0.08431, allocations: 213.2 kB / 401.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.08433, allocations: 4 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.08435, allocations: 4 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.08437, allocations: 4.047 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.08453, allocations: 55.89 kB / 402 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.08455, allocations: 8.406 kB / 402 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.08466, allocations: 31.83 kB / 402 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.08468, allocations: 8 kB / 402 MB, free: 11.5 MB / 302.1 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 9.866e-05/0.08478, allocations: 129.8 kB / 402.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.08493, allocations: 85.53 kB / 402.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.08498, allocations: 20.7 kB / 402.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.08499, allocations: 4 kB / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.085, allocations: 0 / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.08501, allocations: 4 kB / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.08525, allocations: 213.4 kB / 402.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.08527, allocations: 0 / 402.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.08547, allocations: 55.89 kB / 402.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.08548, allocations: 0 / 402.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.0855, allocations: 0 / 402.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.08551, allocations: 8 kB / 402.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.08552, allocations: 0 / 402.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.08602, allocations: 403.4 kB / 402.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.08608, allocations: 96.8 kB / 403 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.08611, allocations: 4 kB / 403 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.08624, allocations: 11.98 kB / 403 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.08628, allocations: 4 kB / 403 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.0863, allocations: 4 kB / 403 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.08636, allocations: 103.2 kB / 403.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08636, allocations: 96 / 403.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000309/0.08668, allocations: 40 kB / 403.2 MB, free: 10.24 MB / 302.1 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 9.415e-05/0.08678, allocations: 95.19 kB / 403.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.08711, allocations: 132.6 kB / 403.4 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.08712, allocations: 0 / 403.4 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.08723, allocations: 39.91 kB / 403.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.0877, allocations: 68.53 kB / 403.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.08849, allocations: 0.5076 MB / 404 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.08873, allocations: 0.7126 MB / 404.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.08879, allocations: 13.08 kB / 404.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.08882, allocations: 15.44 kB / 404.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.08883, allocations: 0 / 404.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003231/0.09207, allocations: 1.188 MB / 405.9 MB, free: 7.406 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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