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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 108.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 189 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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=5051,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=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 51.92 kB / 370.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2499, allocations: 52.17 MB / 423.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003385/0.2533, allocations: 2.103 MB / 425.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.2542, allocations: 0.5104 MB / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.2542, allocations: 0 / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2544, allocations: 19.8 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.2544, allocations: 27.72 kB / 425.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.2547, allocations: 63.25 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2549, allocations: 131.5 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.255, allocations: 34 kB / 426 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2551, allocations: 55.72 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.2552, allocations: 59.7 kB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2552, allocations: 12 kB / 426.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.2552, allocations: 8 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.2553, allocations: 23.92 kB / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.2553, allocations: 63.67 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.2555, allocations: 128.6 kB / 426.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2555, allocations: 4 kB / 426.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2556, allocations: 0 / 426.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2556, allocations: 0 / 426.3 MB, free: 11.47 MB / 334.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.0005946/0.2562, allocations: 365.7 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2562, allocations: 8.031 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2562, allocations: 20.78 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2565, allocations: 154.3 kB / 426.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2565, allocations: 8.375 kB / 426.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.2565, allocations: 16.36 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.257, allocations: 234.9 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.257, allocations: 3.984 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2571, allocations: 4 kB / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2571, allocations: 0 / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.2573, allocations: 87.88 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.258, allocations: 0.5388 MB / 427.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2583, allocations: 151.8 kB / 427.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.2585, allocations: 74.62 kB / 428 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2585, allocations: 0 / 428 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2586, allocations: 34.56 kB / 428 MB, free: 9.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.2586, allocations: 0 / 428 MB, free: 9.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000589/0.2592, allocations: 181.4 kB / 428.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.2592, allocations: 118.7 kB / 428.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2594, allocations: 141.1 kB / 428.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2594, allocations: 25.7 kB / 428.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.2595, allocations: 120.1 kB / 428.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.2595, allocations: 27.91 kB / 428.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.2596, allocations: 37.72 kB / 428.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2597, allocations: 318.8 kB / 428.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2599, allocations: 39.97 kB / 429 MB, free: 8.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2601, allocations: 135.4 kB / 429.1 MB, free: 8.379 MB / 334.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.0004488/0.2605, allocations: 201.5 kB / 429.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2605, allocations: 7.938 kB / 429.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000396/0.2609, allocations: 201.2 kB / 429.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2609, allocations: 4 kB / 429.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.261, allocations: 4.469 kB / 429.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.261, allocations: 12 kB / 429.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2611, allocations: 43.91 kB / 429.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2611, allocations: 7.938 kB / 429.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2613, allocations: 27.88 kB / 429.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2613, allocations: 8 kB / 429.6 MB, free: 7.816 MB / 334.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.0001176/0.2614, allocations: 133.7 kB / 429.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.2616, allocations: 89.91 kB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.2616, allocations: 24.7 kB / 429.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2616, allocations: 4 kB / 429.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2616, allocations: 0 / 429.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2616, allocations: 0 / 429.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.2619, allocations: 188.5 kB / 430.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2619, allocations: 3.938 kB / 430.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.2621, allocations: 47.95 kB / 430.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2621, allocations: 4 kB / 430.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2621, allocations: 0 / 430.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2621, allocations: 0 / 430.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2621, allocations: 8 kB / 430.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.2627, allocations: 378.9 kB / 430.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.2627, allocations: 19.88 kB / 430.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.2628, allocations: 7.984 kB / 430.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2629, allocations: 12.05 kB / 430.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.2629, allocations: 4 kB / 430.5 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2629, allocations: 8 kB / 430.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.263, allocations: 106.2 kB / 430.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.263, allocations: 0 / 430.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.2633, allocations: 28 kB / 430.7 MB, free: 6.695 MB / 334.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 0.0001062/0.2634, allocations: 99.19 kB / 430.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.2638, allocations: 127.7 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2638, allocations: 3.938 kB / 430.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2639, allocations: 24.92 kB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2644, allocations: 75.66 kB / 431 MB, free: 6.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.2653, allocations: 411 kB / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2656, allocations: 0.7162 MB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.2656, allocations: 13.45 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.2657, allocations: 19.44 kB / 432.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2657, allocations: 0 / 432.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Templates: time 0.004482/0.2702, allocations: 1.453 MB / 433.6 MB, free: 3.746 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.476607155054808]