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: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 60.53 kB / 306.5 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 50.53 MB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004026/0.112, allocations: 2.117 MB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1132, allocations: 0.5338 MB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1134, allocations: 0 / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1135, allocations: 11.92 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1137, allocations: 23.8 kB / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.114, allocations: 47.95 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1142, allocations: 127.5 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1144, allocations: 61.77 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1145, allocations: 47.8 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1147, allocations: 63.69 kB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.1147, allocations: 8 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.1147, allocations: 12 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.1148, allocations: 23.92 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.1149, allocations: 59.67 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.115, allocations: 131.7 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1151, allocations: 0 / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1151, allocations: 0 / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1151, allocations: 4 kB / 360.3 MB, free: 10.81 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.0006276/0.1157, allocations: 434.9 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.1158, allocations: 12.03 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.1158, allocations: 42.75 kB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1159, allocations: 16.75 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1162, allocations: 208.1 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1162, allocations: 4.375 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.1163, allocations: 20.28 kB / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.1168, allocations: 230.7 kB / 361.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1168, allocations: 7.875 kB / 361.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1168, allocations: 8 kB / 361.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1169, allocations: 4 kB / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.1171, allocations: 83.88 kB / 361.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.1179, allocations: 0.5959 MB / 362 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1183, allocations: 155.9 kB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.1185, allocations: 70.64 kB / 362.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1185, allocations: 0 / 362.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1185, allocations: 34.56 kB / 362.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.1185, allocations: 0 / 362.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005404/0.1191, allocations: 193.2 kB / 362.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1192, allocations: 114.8 kB / 362.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1193, allocations: 134.2 kB / 362.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1193, allocations: 29.7 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1194, allocations: 112 kB / 362.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1195, allocations: 27.83 kB / 362.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1195, allocations: 41.7 kB / 362.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1196, allocations: 322.8 kB / 363.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1198, allocations: 35.97 kB / 363.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1199, allocations: 141 kB / 363.4 MB, free: 7.434 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.0005111/0.1205, allocations: 282.6 kB / 363.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1205, allocations: 3.938 kB / 363.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003843/0.1209, allocations: 201.1 kB / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1209, allocations: 8 kB / 363.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1209, allocations: 480 / 363.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1209, allocations: 12 kB / 363.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1211, allocations: 40.3 kB / 363.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.1211, allocations: 11.92 kB / 363.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1212, allocations: 19.91 kB / 363.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1213, allocations: 8 kB / 363.9 MB, free: 6.785 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.0001339/0.1214, allocations: 145.5 kB / 364.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1215, allocations: 85.59 kB / 364.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1216, allocations: 16.72 kB / 364.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1216, allocations: 7.938 kB / 364.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1216, allocations: 0 / 364.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1216, allocations: 3.984 kB / 364.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1219, allocations: 217.4 kB / 364.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1219, allocations: 0 / 364.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1221, allocations: 39.97 kB / 364.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.1221, allocations: 4 kB / 364.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1222, allocations: 8 kB / 364.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1222, allocations: 0 / 364.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1222, allocations: 4 kB / 364.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.1227, allocations: 385.8 kB / 364.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1228, allocations: 92.89 kB / 364.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1228, allocations: 4 kB / 364.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.123, allocations: 16.05 kB / 364.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.123, allocations: 7.984 kB / 365 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.123, allocations: 4 kB / 365 MB, free: 5.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.192e-05/0.1231, allocations: 101.5 kB / 365.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1231, allocations: 0 / 365.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1234, allocations: 28 kB / 365.1 MB, free: 5.539 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.0008511/0.1243, allocations: 0.9192 MB / 366 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.1247, allocations: 136.1 kB / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1247, allocations: 0 / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.1248, allocations: 32.33 kB / 366.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.1253, allocations: 63.48 kB / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1278, allocations: 2.131 MB / 368.4 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1281, allocations: 0.7201 MB / 369.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.1281, allocations: 9.094 kB / 369.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.1282, allocations: 39.42 kB / 369.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1282, allocations: 0 / 369.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/0.3137, allocations: 2.801 MB / 371.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.3139, allocations: 265.5 kB / 372.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.221, allocations: 1.062 kB / 372.2 MB, free: 19.96 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > 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