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.001172/0.001172, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 50.55 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004082/0.3749, allocations: 2.054 MB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3762, allocations: 0.5377 MB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.3764, allocations: 7.938 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3766, allocations: 19.8 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3767, allocations: 23.78 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3771, allocations: 55.88 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3773, allocations: 135.5 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.3775, allocations: 53.77 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3776, allocations: 51.78 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3778, allocations: 55.72 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.3778, allocations: 12 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.3778, allocations: 12 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.3779, allocations: 23.92 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.378, allocations: 67.64 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3782, allocations: 129.1 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3782, allocations: 0 / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3782, allocations: 0 / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3782, allocations: 0 / 412 MB, free: 14.32 MB / 334.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.0007245/0.379, allocations: 435 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.379, allocations: 8.031 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.3791, allocations: 50.73 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3791, allocations: 20.69 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.3795, allocations: 216 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3795, allocations: 8.375 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.3796, allocations: 12.38 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.3801, allocations: 234.7 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3801, allocations: 0 / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3801, allocations: 7.938 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3802, allocations: 4 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.3804, allocations: 83.88 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.3813, allocations: 0.592 MB / 413.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.3817, allocations: 151.9 kB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3819, allocations: 70.64 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3819, allocations: 8 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3819, allocations: 34.5 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.382, allocations: 0 / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005343/0.3825, allocations: 185.3 kB / 414 MB, free: 11.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.3826, allocations: 114.9 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3828, allocations: 136.4 kB / 414.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3828, allocations: 25.7 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.3829, allocations: 119.9 kB / 414.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3829, allocations: 31.62 kB / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.383, allocations: 37.7 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3832, allocations: 322.8 kB / 414.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3833, allocations: 39.97 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3835, allocations: 137.7 kB / 415 MB, free: 10.94 MB / 334.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.0005011/0.384, allocations: 278.9 kB / 415.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.384, allocations: 7.875 kB / 415.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004301/0.3845, allocations: 205.2 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3845, allocations: 10.97 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3845, allocations: 4 kB / 415.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3846, allocations: 4 kB / 415.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3847, allocations: 47.91 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3847, allocations: 4.375 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3849, allocations: 20.22 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3849, allocations: 12 kB / 415.6 MB, free: 10.29 MB / 334.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.0001552/0.3851, allocations: 153.5 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.3852, allocations: 89.44 kB / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.3853, allocations: 16.72 kB / 415.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3853, allocations: 0 / 415.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3853, allocations: 4 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3853, allocations: 3.984 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.3856, allocations: 201.5 kB / 416 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3856, allocations: 8 kB / 416 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3859, allocations: 47.97 kB / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3859, allocations: 0 / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3859, allocations: 4 kB / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3859, allocations: 3.938 kB / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3859, allocations: 0 / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.3865, allocations: 390.4 kB / 416.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.3866, allocations: 85.05 kB / 416.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.3867, allocations: 11.98 kB / 416.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3868, allocations: 4 kB / 416.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3869, allocations: 3.984 kB / 416.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3869, allocations: 8 kB / 416.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.387, allocations: 114 kB / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.387, allocations: 0 / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000329/0.3873, allocations: 31.84 kB / 416.7 MB, free: 9.023 MB / 334.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.0009136/0.3882, allocations: 0.9115 MB / 417.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.3886, allocations: 128.7 kB / 417.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3886, allocations: 0 / 417.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3887, allocations: 36.03 kB / 417.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.3893, allocations: 64.19 kB / 417.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3924, allocations: 2.078 MB / 419.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3929, allocations: 0.7201 MB / 420.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.393, allocations: 9.094 kB / 420.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.3931, allocations: 39.42 kB / 420.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3931, allocations: 0 / 420.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.4253, allocations: 3.054 MB / 423.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.679, allocations: 7.672 kB / 423.8 MB, free: 1.938 MB / 334.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