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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 115.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 56.44 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1032, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.00334/0.1065, allocations: 2.052 MB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.1075, allocations: 0.5376 MB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.1076, allocations: 0 / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1077, allocations: 19.8 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.1078, allocations: 27.72 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.108, allocations: 63.81 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1082, allocations: 123.6 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1084, allocations: 61.77 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.1084, allocations: 55.73 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.1085, allocations: 55.7 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1086, allocations: 12 kB / 361.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.1086, allocations: 12 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1086, allocations: 27.91 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1087, allocations: 55.67 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1088, allocations: 131.5 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1089, allocations: 0 / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1089, allocations: 0 / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1089, allocations: 4 kB / 362.1 MB, free: 10.12 MB / 302.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.000555/0.1094, allocations: 435 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1095, allocations: 8.031 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1095, allocations: 16.75 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1098, allocations: 219.4 kB / 362.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1098, allocations: 4.375 kB / 362.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1098, allocations: 28.36 kB / 362.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.1103, allocations: 226.8 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1103, allocations: 4 kB / 363 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1103, allocations: 8 kB / 363.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1103, allocations: 4 kB / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1105, allocations: 79.88 kB / 363.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.1111, allocations: 0.5921 MB / 363.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.1115, allocations: 151.9 kB / 363.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1116, allocations: 78.62 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1116, allocations: 3.984 kB / 364 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1117, allocations: 34.56 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.1117, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.000465/0.1121, allocations: 185.5 kB / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.1122, allocations: 118.8 kB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.1123, allocations: 140.5 kB / 364.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1123, allocations: 25.7 kB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.1124, allocations: 116 kB / 364.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1124, allocations: 27.7 kB / 364.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.1125, allocations: 33.72 kB / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.1126, allocations: 327 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1127, allocations: 35.97 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1129, allocations: 145.2 kB / 365.1 MB, free: 6.789 MB / 302.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.0003778/0.1133, allocations: 282.6 kB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1133, allocations: 0 / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003512/0.1136, allocations: 205 kB / 365.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1136, allocations: 8 kB / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1137, allocations: 0 / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1137, allocations: 8 kB / 365.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1138, allocations: 44.38 kB / 365.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1138, allocations: 11.94 kB / 365.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.114, allocations: 23.89 kB / 365.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.114, allocations: 8 kB / 365.7 MB, free: 6.137 MB / 302.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.0001059/0.1141, allocations: 137.6 kB / 365.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1142, allocations: 89.81 kB / 365.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1143, allocations: 12.72 kB / 365.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1143, allocations: 11.92 kB / 365.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1143, allocations: 0 / 365.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1143, allocations: 4 kB / 366 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1146, allocations: 213.5 kB / 366.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1146, allocations: 0 / 366.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.1148, allocations: 43.95 kB / 366.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1148, allocations: 4 kB / 366.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1148, allocations: 4 kB / 366.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1148, allocations: 0 / 366.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1148, allocations: 4 kB / 366.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.1154, allocations: 383.4 kB / 366.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1154, allocations: 96.83 kB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1155, allocations: 4 kB / 366.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1156, allocations: 15.98 kB / 366.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1156, allocations: 8.062 kB / 366.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1157, allocations: 4 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.1157, allocations: 106.3 kB / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1157, allocations: 0 / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1161, allocations: 28 kB / 366.8 MB, free: 4.891 MB / 302.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.828e-05/0.1162, allocations: 103.2 kB / 366.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.1165, allocations: 127.9 kB / 367.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1165, allocations: 0 / 367.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.1166, allocations: 27.98 kB / 367.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1171, allocations: 71.81 kB / 367.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.1178, allocations: 422.6 kB / 367.6 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1181, allocations: 0.7123 MB / 368.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1181, allocations: 17.08 kB / 368.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1182, allocations: 15.44 kB / 368.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1182, allocations: 0 / 368.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of Templates: time 0.003666/0.1218, allocations: 1.314 MB / 369.6 MB, free: 2.062 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches