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.001631/0.001631, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001669/0.001669, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.539/1.539, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 47.55 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1125, allocations: 49.44 MB / 350 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003207/0.1158, allocations: 2.046 MB / 352.1 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.1166, allocations: 0.5025 MB / 352.6 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.1167, allocations: 4 kB / 352.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.1168, allocations: 23.73 kB / 352.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.1169, allocations: 19.78 kB / 352.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1172, allocations: 55.88 kB / 352.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1174, allocations: 127.5 kB / 352.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1175, allocations: 69.62 kB / 352.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.1176, allocations: 43.8 kB / 352.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.1177, allocations: 59.75 kB / 353 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1177, allocations: 12 kB / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1178, allocations: 11.94 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1178, allocations: 27.86 kB / 353 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.1179, allocations: 59.67 kB / 353.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.118, allocations: 131.7 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.118, allocations: 4 kB / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.118, allocations: 0 / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1181, allocations: 0 / 353.2 MB, free: 1.246 MB / 286.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.0005909/0.1186, allocations: 435 kB / 353.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1187, allocations: 12.03 kB / 353.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1187, allocations: 16.75 kB / 353.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.119, allocations: 204.1 kB / 353.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.119, allocations: 8.375 kB / 353.9 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.119, allocations: 20.38 kB / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.1195, allocations: 227.3 kB / 354.1 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1195, allocations: 4 kB / 354.1 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1195, allocations: 8 kB / 354.1 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1195, allocations: 4 kB / 354.1 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1198, allocations: 83.86 kB / 354.2 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.1204, allocations: 0.5959 MB / 354.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1208, allocations: 151.9 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1209, allocations: 74.62 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.121, allocations: 7.984 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.121, allocations: 34.56 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.121, allocations: 4 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005089/0.1215, allocations: 185.3 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.1216, allocations: 118.7 kB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1217, allocations: 137 kB / 355.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1217, allocations: 30.08 kB / 355.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1218, allocations: 116.1 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1218, allocations: 23.72 kB / 355.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1219, allocations: 37.7 kB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.122, allocations: 326.8 kB / 356 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1221, allocations: 35.97 kB / 356.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1223, allocations: 141.6 kB / 356.2 MB, free: 13.92 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.0004696/0.1228, allocations: 282.6 kB / 356.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1228, allocations: 4 kB / 356.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003679/0.1232, allocations: 197.2 kB / 356.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1232, allocations: 8.469 kB / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1232, allocations: 8.047 kB / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1232, allocations: 7.984 kB / 356.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1234, allocations: 43.91 kB / 356.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1234, allocations: 11.94 kB / 356.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1235, allocations: 19.89 kB / 356.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1235, allocations: 8 kB / 356.8 MB, free: 13.27 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.0001145/0.1237, allocations: 137.7 kB / 356.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1238, allocations: 89.59 kB / 357 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.1239, allocations: 20.7 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1239, allocations: 0 / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1239, allocations: 0 / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1239, allocations: 4 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.1242, allocations: 209.4 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1242, allocations: 0 / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1244, allocations: 39.97 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1244, allocations: 7.984 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1244, allocations: 4 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1244, allocations: 8 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1244, allocations: 0 / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.1249, allocations: 386.2 kB / 357.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.125, allocations: 92.86 kB / 357.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.125, allocations: 8.062 kB / 357.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1252, allocations: 11.92 kB / 357.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1252, allocations: 4 kB / 357.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1252, allocations: 8 kB / 357.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.1253, allocations: 106.2 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1253, allocations: 96 / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1256, allocations: 31.94 kB / 357.9 MB, free: 12.02 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 0.000101/0.1258, allocations: 111.1 kB / 358 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.1261, allocations: 127.7 kB / 358.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1261, allocations: 0 / 358.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.1262, allocations: 24.92 kB / 358.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.1267, allocations: 79.92 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.1276, allocations: 417.5 kB / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1279, allocations: 0.7162 MB / 359.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.652e-05/0.128, allocations: 13.08 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.128, allocations: 15.44 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.128, allocations: 0 / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Templates: time 0.003747/0.1318, allocations: 1.318 MB / 360.7 MB, free: 9.188 MB / 302.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/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) Reference file matches