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.001408/0.001408, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.9 MB, free: 8.891 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.11 kB / 306.9 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09372, allocations: 50.52 MB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003163/0.09692, allocations: 2.117 MB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.09781, allocations: 0.5377 MB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.09794, allocations: 4 kB / 360.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.09805, allocations: 11.86 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.09814, allocations: 19.84 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.09841, allocations: 55.88 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.09858, allocations: 123.5 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.09873, allocations: 57.3 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.09882, allocations: 43.8 kB / 360.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.09891, allocations: 63.69 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.09894, allocations: 8 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.09896, allocations: 4 kB / 360.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.099, allocations: 19.92 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.09906, allocations: 59.67 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.09919, allocations: 92.06 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.0992, allocations: 0 / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.0992, allocations: 0 / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09921, allocations: 0 / 360.6 MB, free: 11.02 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.0006099/0.09983, allocations: 435 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.09988, allocations: 12.03 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.09994, allocations: 16.75 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1002, allocations: 207 kB / 361.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1002, allocations: 12.38 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1002, allocations: 20.3 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.1007, allocations: 226.8 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1007, allocations: 7.984 kB / 361.5 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1007, allocations: 8 kB / 361.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.1007, allocations: 4 kB / 361.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.101, allocations: 83.88 kB / 361.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1016, allocations: 0.5998 MB / 362.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.102, allocations: 143.9 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.1021, allocations: 70.64 kB / 362.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1022, allocations: 11.92 kB / 362.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1022, allocations: 38.56 kB / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1022, allocations: 0 / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005059/0.1027, allocations: 177.2 kB / 362.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.1028, allocations: 114.8 kB / 362.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.1029, allocations: 132.7 kB / 362.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1029, allocations: 33.7 kB / 362.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.103, allocations: 120.1 kB / 363.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.103, allocations: 19.72 kB / 363.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1031, allocations: 37.7 kB / 363.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1032, allocations: 322.8 kB / 363.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1033, allocations: 35.97 kB / 363.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1035, allocations: 148.4 kB / 363.6 MB, free: 7.699 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.0004179/0.1039, allocations: 286.7 kB / 363.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1039, allocations: 0 / 363.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000366/0.1043, allocations: 201.6 kB / 364.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1043, allocations: 12.06 kB / 364.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1043, allocations: 4.375 kB / 364.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1044, allocations: 4 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1045, allocations: 51.89 kB / 364.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1045, allocations: 8 kB / 364.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1046, allocations: 19.83 kB / 364.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1047, allocations: 12 kB / 364.2 MB, free: 7.039 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.0001093/0.1048, allocations: 141.6 kB / 364.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.1049, allocations: 89.53 kB / 364.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.105, allocations: 16.7 kB / 364.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.105, allocations: 4 kB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.105, allocations: 0 / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.105, allocations: 0 / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1053, allocations: 213.5 kB / 364.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1053, allocations: 4 kB / 364.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1055, allocations: 47.89 kB / 364.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1055, allocations: 4 kB / 364.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1055, allocations: 4 kB / 364.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1055, allocations: 0 / 364.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1055, allocations: 4 kB / 364.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.1061, allocations: 379.4 kB / 365.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1061, allocations: 96.92 kB / 365.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1062, allocations: 4 kB / 365.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1063, allocations: 11.98 kB / 365.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1063, allocations: 7.938 kB / 365.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.1064, allocations: 4 kB / 365.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.1064, allocations: 103.2 kB / 365.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1064, allocations: 0 / 365.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.1068, allocations: 28 kB / 365.3 MB, free: 5.797 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 8.855e-05/0.1068, allocations: 107.2 kB / 365.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.1072, allocations: 119.7 kB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1072, allocations: 0.9375 kB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.1073, allocations: 35.92 kB / 365.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1078, allocations: 63.77 kB / 365.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.1086, allocations: 497.4 kB / 366.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1089, allocations: 0.7203 MB / 366.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.109, allocations: 15.44 kB / 366.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.109, allocations: 0 / 366.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of Templates: time 0.003041/0.112, allocations: 1.598 MB / 368.5 MB, free: 2.59 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 -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