Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 191 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009821/0.0009823, allocations: 47.92 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.227, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003056/0.2301, allocations: 2.052 MB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.231, allocations: 0.5025 MB / 403.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.2311, allocations: 0 / 403.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2312, allocations: 23.73 kB / 404 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.2313, allocations: 31.77 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2316, allocations: 55.88 kB / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.2317, allocations: 123.5 kB / 404.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2319, allocations: 57.8 kB / 404.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.232, allocations: 55.77 kB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.2321, allocations: 51.72 kB / 404.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2321, allocations: 12 kB / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2321, allocations: 15.94 kB / 404.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.2322, allocations: 23.92 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.2322, allocations: 59.66 kB / 404.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2324, allocations: 136.6 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2324, allocations: 3.984 kB / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2324, allocations: 0 / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2324, allocations: 4 kB / 404.6 MB, free: 5.676 MB / 318.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.0005446/0.233, allocations: 423 kB / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.233, allocations: 12.03 kB / 405 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.2331, allocations: 8.844 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2333, allocations: 218.9 kB / 405.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2333, allocations: 16.31 kB / 405.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2334, allocations: 16.38 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.2338, allocations: 226.9 kB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2338, allocations: 4 kB / 405.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2339, allocations: 8 kB / 405.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2339, allocations: 4 kB / 405.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.2341, allocations: 83.86 kB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.2347, allocations: 0.5998 MB / 406.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.235, allocations: 143.9 kB / 406.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2352, allocations: 74.64 kB / 406.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2352, allocations: 4 kB / 406.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2352, allocations: 38.48 kB / 406.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2353, allocations: 0 / 406.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004635/0.2357, allocations: 181.3 kB / 406.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.2358, allocations: 114.8 kB / 406.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.2359, allocations: 134.6 kB / 406.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2359, allocations: 29.7 kB / 406.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.236, allocations: 119.7 kB / 407 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.236, allocations: 23.7 kB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.2361, allocations: 41.64 kB / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2362, allocations: 327 kB / 407.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2363, allocations: 35.97 kB / 407.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2365, allocations: 143.3 kB / 407.6 MB, free: 2.359 MB / 318.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.0003879/0.2369, allocations: 270.7 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2369, allocations: 0 / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003527/0.2372, allocations: 209.3 kB / 408 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2373, allocations: 11.94 kB / 408 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2373, allocations: 4 kB / 408 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2373, allocations: 4 kB / 408 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2374, allocations: 44.38 kB / 408.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2375, allocations: 12 kB / 408.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2376, allocations: 27.83 kB / 408.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2376, allocations: 8 kB / 408.1 MB, free: 1.707 MB / 318.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 0.0001089/0.2377, allocations: 137.7 kB / 408.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.2379, allocations: 89.53 kB / 408.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.2379, allocations: 16.7 kB / 408.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2379, allocations: 4 kB / 408.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2379, allocations: 4 kB / 408.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2379, allocations: 4 kB / 408.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2382, allocations: 209.4 kB / 408.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2382, allocations: 0 / 408.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2384, allocations: 43.97 kB / 408.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2384, allocations: 4 kB / 408.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2384, allocations: 3.984 kB / 408.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2384, allocations: 7.938 kB / 408.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2385, allocations: 0 / 408.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.239, allocations: 383.3 kB / 409 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.239, allocations: 89 kB / 409.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.239, allocations: 4 kB / 409.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2392, allocations: 4 kB / 409.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2392, allocations: 12.05 kB / 409.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2392, allocations: 8 kB / 409.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.2393, allocations: 101.9 kB / 409.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.2393, allocations: 3.938 kB / 409.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.2396, allocations: 35.88 kB / 409.3 MB, free: 468 kB / 318.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.399e-05/0.2397, allocations: 107.2 kB / 409.4 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.2401, allocations: 123.8 kB / 409.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2401, allocations: 0 / 409.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.2402, allocations: 27.97 kB / 409.5 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.2407, allocations: 68.47 kB / 409.6 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.2415, allocations: 464.1 kB / 410 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2418, allocations: 0.72 MB / 410.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2418, allocations: 19.44 kB / 410.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2418, allocations: 0 / 410.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Templates: time 0.002957/0.2448, allocations: 1.613 MB / 412.4 MB, free: 13.27 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches