Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 94.78 kB / 16.04 MB, free: 5.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1053/0.1053, allocations: 12.63 MB / 29.41 MB, free: 5.883 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001511/0.0001511, allocations: 4 kB / 40.27 MB, free: 0.5078 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004812/0.004978, allocations: 2.831 MB / 43.1 MB, free: 5.953 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 1.377/1.382, allocations: 278 MB / 321.1 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006577/1.383, allocations: 484.1 kB / 321.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/1.383, allocations: 7.938 kB / 321.6 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.641e-05/1.383, allocations: 13.42 kB / 321.6 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/1.383, allocations: 23.78 kB / 321.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/1.384, allocations: 49.7 kB / 321.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/1.384, allocations: 119.5 kB / 321.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/1.384, allocations: 74.19 kB / 321.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/1.384, allocations: 36.48 kB / 321.9 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/1.384, allocations: 51.7 kB / 321.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/1.384, allocations: 5.062 kB / 322 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/1.384, allocations: 4 kB / 322 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/1.384, allocations: 19.92 kB / 322 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/1.384, allocations: 78.69 kB / 322.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/1.384, allocations: 115.5 kB / 322.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.384, allocations: 0 / 322.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/1.384, allocations: 0.7812 kB / 322.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/1.384, allocations: 4 kB / 322.2 MB, free: 10.97 MB / 250.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.0005371/1.385, allocations: 413.3 kB / 322.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.385, allocations: 8.031 kB / 322.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/1.385, allocations: 18.59 kB / 322.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/1.385, allocations: 212 kB / 322.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/1.385, allocations: 8.375 kB / 322.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/1.385, allocations: 16.36 kB / 322.8 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/1.386, allocations: 230.8 kB / 323.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.386, allocations: 7.938 kB / 323.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.386, allocations: 6.484 kB / 323.1 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.386, allocations: 4 kB / 323.1 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/1.386, allocations: 93.25 kB / 323.2 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/1.387, allocations: 0.5999 MB / 323.8 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/1.387, allocations: 155.5 kB / 323.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/1.387, allocations: 81.11 kB / 324 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/1.387, allocations: 3.984 kB / 324 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/1.387, allocations: 39.09 kB / 324 MB, free: 8.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/1.387, allocations: 2.812 kB / 324 MB, free: 8.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004464/1.388, allocations: 191.5 kB / 324.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/1.388, allocations: 114.7 kB / 324.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/1.388, allocations: 136.4 kB / 324.5 MB, free: 8.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.388, allocations: 33.7 kB / 324.5 MB, free: 8.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/1.388, allocations: 112.8 kB / 324.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.388, allocations: 23.66 kB / 324.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/1.388, allocations: 5.438 kB / 324.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.388, allocations: 322.8 kB / 325 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/1.388, allocations: 41.25 kB / 325 MB, free: 7.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/1.388, allocations: 147.5 kB / 325.1 MB, free: 7.691 MB / 250.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.0004087/1.389, allocations: 292.5 kB / 325.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.389, allocations: 5.25 kB / 325.4 MB, free: 7.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003419/1.389, allocations: 202.4 kB / 325.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.389, allocations: 7.984 kB / 325.6 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.389, allocations: 4 kB / 325.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.389, allocations: 4 kB / 325.7 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/1.389, allocations: 51.3 kB / 325.7 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.389, allocations: 11.92 kB / 325.7 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/1.389, allocations: 23.84 kB / 325.7 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/1.389, allocations: 8 kB / 325.7 MB, free: 7.043 MB / 250.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 9.836e-05/1.39, allocations: 139.5 kB / 325.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1.39, allocations: 93.75 kB / 326 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/1.39, allocations: 16.72 kB / 326 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.39, allocations: 4.094 kB / 326 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.39, allocations: 3.938 kB / 326 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.39, allocations: 1.469 kB / 326 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/1.39, allocations: 213.5 kB / 326.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.39, allocations: 0 / 326.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/1.39, allocations: 53.28 kB / 326.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.39, allocations: 0 / 326.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.39, allocations: 0 / 326.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.39, allocations: 4.719 kB / 326.3 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.39, allocations: 0 / 326.3 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/1.391, allocations: 404.6 kB / 326.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/1.391, allocations: 85.28 kB / 326.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/1.391, allocations: 12.06 kB / 326.8 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.391, allocations: 7.984 kB / 326.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/1.391, allocations: 11.98 kB / 326.8 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.391, allocations: 7.984 kB / 326.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/1.391, allocations: 106.4 kB / 326.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.391, allocations: 0 / 326.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002707/1.391, allocations: 31.84 kB / 326.9 MB, free: 5.773 MB / 250.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 9.151e-05/1.392, allocations: 103.2 kB / 327 MB, free: 5.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/1.392, allocations: 132.6 kB / 327.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.392, allocations: 4.062 kB / 327.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/1.392, allocations: 31.92 kB / 327.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/1.392, allocations: 67.88 kB / 327.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/1.393, allocations: 0.5115 MB / 327.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/1.393, allocations: 0.7126 MB / 328.5 MB, free: 4.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.044e-05/1.393, allocations: 13.09 kB / 328.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/1.393, allocations: 23.36 kB / 328.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/1.393, allocations: 0 / 328.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of Templates: time 0.003102/1.397, allocations: 1.195 MB / 329.7 MB, free: 2.926 MB / 250.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