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: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001183/0.001183, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009777/0.0009777, allocations: 42.27 kB / 300 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.09964, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003145/0.1028, allocations: 2.097 MB / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.1036, allocations: 0.5026 MB / 352.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.1037, allocations: 11.94 kB / 352.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1038, allocations: 7.922 kB / 352.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.1039, allocations: 23.78 kB / 352.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1041, allocations: 46.2 kB / 352.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1043, allocations: 123.5 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1044, allocations: 57.31 kB / 352.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.1045, allocations: 47.78 kB / 352.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.1046, allocations: 51.72 kB / 352.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1046, allocations: 8 kB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.1046, allocations: 8 kB / 352.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.1047, allocations: 19.92 kB / 352.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.1048, allocations: 59.66 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1049, allocations: 123.8 kB / 352.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1049, allocations: 0 / 352.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1049, allocations: 4 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1049, allocations: 0 / 352.7 MB, free: 1.531 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.0005603/0.1055, allocations: 438.9 kB / 353.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1055, allocations: 12.03 kB / 353.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1056, allocations: 46.73 kB / 353.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1056, allocations: 16.75 kB / 353.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1058, allocations: 208.1 kB / 353.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1058, allocations: 8.375 kB / 353.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1059, allocations: 16.38 kB / 353.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.1063, allocations: 230.6 kB / 353.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1063, allocations: 4 kB / 353.6 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1064, allocations: 11.94 kB / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1064, allocations: 4 kB / 353.6 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1066, allocations: 83.81 kB / 353.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1073, allocations: 0.5921 MB / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1076, allocations: 151.9 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1078, allocations: 78.62 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1078, allocations: 4 kB / 354.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1078, allocations: 30.56 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.021e-05/0.1078, allocations: 7.984 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004789/0.1083, allocations: 185.2 kB / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.1084, allocations: 114.8 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1085, allocations: 138.1 kB / 355 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1085, allocations: 29.7 kB / 355 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.1086, allocations: 112.1 kB / 355.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1086, allocations: 31.64 kB / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1087, allocations: 33.72 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1088, allocations: 322.8 kB / 355.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1089, allocations: 35.97 kB / 355.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1091, allocations: 137.7 kB / 355.7 MB, free: 14.15 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.0004029/0.1095, allocations: 282.6 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1095, allocations: 7.938 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003561/0.1099, allocations: 194 kB / 356.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1099, allocations: 8 kB / 356.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1099, allocations: 8 kB / 356.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1099, allocations: 4 kB / 356.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1101, allocations: 47.84 kB / 356.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1101, allocations: 11.94 kB / 356.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1102, allocations: 19.89 kB / 356.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1102, allocations: 8 kB / 356.3 MB, free: 13.5 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 9.605e-05/0.1103, allocations: 133.7 kB / 356.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.1105, allocations: 89.59 kB / 356.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1105, allocations: 16.7 kB / 356.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1105, allocations: 4 kB / 356.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1105, allocations: 0 / 356.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1105, allocations: 4 kB / 356.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1108, allocations: 217.4 kB / 356.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1108, allocations: 3.938 kB / 356.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.111, allocations: 47.89 kB / 356.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.111, allocations: 4 kB / 356.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1111, allocations: 4 kB / 356.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1111, allocations: 8 kB / 356.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1111, allocations: 0 / 356.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.1116, allocations: 385.6 kB / 357.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.1116, allocations: 96.92 kB / 357.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1117, allocations: 0 / 357.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1118, allocations: 11.98 kB / 357.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1118, allocations: 4 kB / 357.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1119, allocations: 8 kB / 357.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.1119, allocations: 110 kB / 357.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1119, allocations: 0 / 357.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1123, allocations: 24 kB / 357.4 MB, free: 12.25 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.0007204/0.113, allocations: 0.9231 MB / 358.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1133, allocations: 128.1 kB / 358.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1133, allocations: 96 / 358.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/0.1134, allocations: 31.86 kB / 358.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1139, allocations: 61.19 kB / 358.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.1162, allocations: 2.131 MB / 360.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1164, allocations: 0.7165 MB / 361.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.1165, allocations: 13.08 kB / 361.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.1166, allocations: 39.42 kB / 361.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1166, allocations: 0 / 361.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.1292, allocations: 2.72 MB / 364.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1294, allocations: 256.9 kB / 364.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.096, allocations: 2.812 kB / 364.4 MB, free: 5.18 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > 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/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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches