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.001747/0.001747, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002012/0.002012, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.457/1.457, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001586/0.001586, allocations: 47.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003892/0.2702, allocations: 2.026 MB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.2711, allocations: 482.8 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2713, allocations: 4 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2714, allocations: 15.8 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.2715, allocations: 35.7 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2718, allocations: 51.88 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.272, allocations: 135.4 kB / 425.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2722, allocations: 37.66 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.2723, allocations: 55.83 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.2724, allocations: 47.72 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.2724, allocations: 12 kB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.421e-05/0.2724, allocations: 12 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.2724, allocations: 27.91 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.2725, allocations: 47.73 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.2727, allocations: 130 kB / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2727, allocations: 0 / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2727, allocations: 0 / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2727, allocations: 0 / 426.1 MB, free: 11.36 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.0006567/0.2734, allocations: 365.7 kB / 426.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2734, allocations: 15.97 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.2735, allocations: 20.84 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.2738, allocations: 150.3 kB / 426.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2738, allocations: 8.375 kB / 426.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.2738, allocations: 12.38 kB / 426.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.2743, allocations: 242.8 kB / 426.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2744, allocations: 4 kB / 426.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.2744, allocations: 4 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2744, allocations: 7.984 kB / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.2746, allocations: 79.88 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.2753, allocations: 496.4 kB / 427.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.2757, allocations: 143.9 kB / 427.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2758, allocations: 74.62 kB / 427.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2759, allocations: 4 kB / 427.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2759, allocations: 38.5 kB / 427.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.2759, allocations: 0 / 427.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000537/0.2764, allocations: 173.5 kB / 427.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.2765, allocations: 122.8 kB / 428.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2767, allocations: 138.2 kB / 428.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.2767, allocations: 29.7 kB / 428.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.2768, allocations: 116.1 kB / 428.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2768, allocations: 27.78 kB / 428.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.2769, allocations: 33.72 kB / 428.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.277, allocations: 322.8 kB / 428.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2772, allocations: 39.91 kB / 428.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2773, allocations: 139.1 kB / 428.9 MB, free: 8.324 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.0004185/0.2778, allocations: 202 kB / 429.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2778, allocations: 4 kB / 429.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003869/0.2782, allocations: 201.2 kB / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2782, allocations: 4 kB / 429.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2782, allocations: 11.88 kB / 429.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2782, allocations: 8 kB / 429.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2784, allocations: 39.97 kB / 429.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2784, allocations: 8.406 kB / 429.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2785, allocations: 31.88 kB / 429.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2785, allocations: 12 kB / 429.4 MB, free: 7.758 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.0001248/0.2786, allocations: 129.8 kB / 429.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2788, allocations: 97.5 kB / 429.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.2788, allocations: 12.72 kB / 429.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2789, allocations: 4 kB / 429.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2789, allocations: 0 / 429.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2789, allocations: 0 / 429.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.2791, allocations: 149.2 kB / 429.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2791, allocations: 0 / 429.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2793, allocations: 43.97 kB / 429.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2793, allocations: 8.172 kB / 429.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2793, allocations: 0 / 429.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.2793, allocations: 3.984 kB / 429.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2793, allocations: 4 kB / 429.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.2799, allocations: 383.4 kB / 430.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.2799, allocations: 19.88 kB / 430.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2799, allocations: 8.062 kB / 430.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2801, allocations: 11.98 kB / 430.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2801, allocations: 0 / 430.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2801, allocations: 7.984 kB / 430.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.2802, allocations: 106.2 kB / 430.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2802, allocations: 0 / 430.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000323/0.2805, allocations: 24 kB / 430.4 MB, free: 6.699 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.0001193/0.2806, allocations: 111.1 kB / 430.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.281, allocations: 123.7 kB / 430.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.281, allocations: 3.938 kB / 430.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.2811, allocations: 23.98 kB / 430.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.2816, allocations: 67.61 kB / 430.7 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.2825, allocations: 430.9 kB / 431.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2826, allocations: 102.7 kB / 431.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.2827, allocations: 9.094 kB / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2827, allocations: 19.42 kB / 431.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2827, allocations: 0 / 431.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Templates: time 0.004813/0.2875, allocations: 1.538 MB / 432.8 MB, free: 4.301 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.550909807905555]