Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 374.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.118, allocations: 53.33 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003702/0.1217, allocations: 2.078 MB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.1227, allocations: 0.5376 MB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1228, allocations: 7.938 kB / 430.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1229, allocations: 19.8 kB / 430.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.123, allocations: 27.72 kB / 430.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1232, allocations: 55.88 kB / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1234, allocations: 131.6 kB / 430.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1236, allocations: 41.78 kB / 430.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1237, allocations: 47.8 kB / 430.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1238, allocations: 59.75 kB / 430.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1238, allocations: 11.94 kB / 430.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.1238, allocations: 12 kB / 430.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1239, allocations: 27.86 kB / 430.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1239, allocations: 59.67 kB / 430.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1241, allocations: 131.3 kB / 431.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1241, allocations: 0 / 431.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1241, allocations: 4 kB / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1241, allocations: 0 / 431.1 MB, free: 1.258 MB / 350.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.0006412/0.1248, allocations: 434.9 kB / 431.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1248, allocations: 12.03 kB / 431.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1249, allocations: 16.84 kB / 431.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1251, allocations: 208.1 kB / 431.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1251, allocations: 12.38 kB / 431.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.1252, allocations: 16.38 kB / 431.8 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.1257, allocations: 242.8 kB / 432 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1257, allocations: 4 kB / 432 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1257, allocations: 4 kB / 432 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1257, allocations: 4 kB / 432 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.1259, allocations: 83.88 kB / 432.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1267, allocations: 0.5999 MB / 432.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.127, allocations: 135.9 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1272, allocations: 78.62 kB / 432.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1272, allocations: 7.938 kB / 432.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1273, allocations: 30.56 kB / 432.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.1273, allocations: 0 / 432.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005054/0.1278, allocations: 189.3 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.1279, allocations: 110.8 kB / 433.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.128, allocations: 138.1 kB / 433.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.128, allocations: 25.7 kB / 433.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1281, allocations: 112.1 kB / 433.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1281, allocations: 32.16 kB / 433.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1281, allocations: 33.84 kB / 433.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1283, allocations: 326.8 kB / 433.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1284, allocations: 35.97 kB / 433.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.1286, allocations: 148.4 kB / 434.1 MB, free: 13.93 MB / 366.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.0004265/0.129, allocations: 278.9 kB / 434.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.129, allocations: 0 / 434.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003631/0.1294, allocations: 205.1 kB / 434.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1294, allocations: 8 kB / 434.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1294, allocations: 4 kB / 434.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1294, allocations: 4.469 kB / 434.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1296, allocations: 51.91 kB / 434.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1296, allocations: 4 kB / 434.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1297, allocations: 27.88 kB / 434.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1297, allocations: 8 kB / 434.6 MB, free: 13.28 MB / 366.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.0001112/0.1298, allocations: 129.7 kB / 434.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.13, allocations: 93.56 kB / 434.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.13, allocations: 16.72 kB / 434.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.13, allocations: 3.938 kB / 434.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.13, allocations: 8 kB / 434.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.13, allocations: 0 / 434.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.1303, allocations: 213.4 kB / 435.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1303, allocations: 0 / 435.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.1305, allocations: 51.89 kB / 435.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1305, allocations: 0 / 435.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1305, allocations: 4 kB / 435.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1305, allocations: 4 kB / 435.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1305, allocations: 0 / 435.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1311, allocations: 389.3 kB / 435.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1311, allocations: 85.09 kB / 435.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1311, allocations: 0 / 435.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1313, allocations: 15.98 kB / 435.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1313, allocations: 8 kB / 435.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1313, allocations: 4 kB / 435.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.1314, allocations: 109.5 kB / 435.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1314, allocations: 0 / 435.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1317, allocations: 31.89 kB / 435.8 MB, free: 12.03 MB / 366.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.0001076/0.1318, allocations: 103.3 kB / 435.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.1321, allocations: 127.7 kB / 436 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1322, allocations: 0 / 436 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.499e-05/0.1322, allocations: 27.92 kB / 436 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.1327, allocations: 60.94 kB / 436.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.1336, allocations: 447.2 kB / 436.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1339, allocations: 0.7201 MB / 437.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.134, allocations: 23.36 kB / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.134, allocations: 0 / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Templates: time 0.003558/0.1375, allocations: 1.622 MB / 438.9 MB, free: 8.852 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.212458833993878]