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.001117/0.001117, allocations: 118.8 kB / 17.78 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.001192/0.001192, 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.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 50.54 MB / 409.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003367/0.2937, allocations: 2.05 MB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.2946, allocations: 0.5415 MB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.2948, allocations: 4 kB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2949, allocations: 15.8 kB / 411.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.295, allocations: 35.72 kB / 411.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.2953, allocations: 59.86 kB / 411.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.2954, allocations: 131.5 kB / 412.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.2956, allocations: 57.78 kB / 412.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.2957, allocations: 55.72 kB / 412.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2958, allocations: 55.7 kB / 412.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.2958, allocations: 12 kB / 412.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.2959, allocations: 8 kB / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.2959, allocations: 23.92 kB / 412.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.296, allocations: 67.66 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.2961, allocations: 128.7 kB / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2961, allocations: 0 / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2962, allocations: 4 kB / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2962, allocations: 0 / 412.5 MB, free: 14.48 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.0005776/0.2968, allocations: 429.3 kB / 412.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2968, allocations: 8.031 kB / 412.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.2969, allocations: 12.84 kB / 412.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.2971, allocations: 216 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2972, allocations: 8.375 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.2972, allocations: 16.31 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.2977, allocations: 234.9 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2977, allocations: 0 / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.2977, allocations: 8 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2977, allocations: 4 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.298, allocations: 91.86 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.2986, allocations: 0.592 MB / 414.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.299, allocations: 147.9 kB / 414.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.2991, allocations: 74.64 kB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2991, allocations: 0 / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2992, allocations: 50.47 kB / 414.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2992, allocations: 0 / 414.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004726/0.2997, allocations: 169.8 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.2998, allocations: 122.8 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.2999, allocations: 134.2 kB / 414.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.2999, allocations: 29.7 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.3, allocations: 119.9 kB / 414.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3, allocations: 27.64 kB / 414.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3, allocations: 37.7 kB / 415 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3002, allocations: 318.8 kB / 415.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3003, allocations: 43.97 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3004, allocations: 141.3 kB / 415.4 MB, free: 11.16 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.0004016/0.3008, allocations: 278.7 kB / 415.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3009, allocations: 4 kB / 415.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003587/0.3012, allocations: 197.1 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3012, allocations: 6.969 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3013, allocations: 7.938 kB / 415.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3013, allocations: 8 kB / 415.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3014, allocations: 43.91 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3015, allocations: 8.406 kB / 416 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3016, allocations: 35.83 kB / 416 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3016, allocations: 8 kB / 416 MB, free: 10.5 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.0001056/0.3017, allocations: 141.6 kB / 416.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.3019, allocations: 89.44 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.3019, allocations: 20.7 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3019, allocations: 4 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3019, allocations: 0 / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3019, allocations: 0 / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3022, allocations: 213.5 kB / 416.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3022, allocations: 0 / 416.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3024, allocations: 43.97 kB / 416.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3024, allocations: 0 / 416.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3024, allocations: 7.984 kB / 416.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3024, allocations: 0 / 416.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3024, allocations: 0 / 416.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.303, allocations: 387.2 kB / 416.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.303, allocations: 89.12 kB / 417 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.303, allocations: 11.94 kB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3032, allocations: 4 kB / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3032, allocations: 11.98 kB / 417 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3032, allocations: 8.062 kB / 417 MB, free: 9.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.3033, allocations: 102 kB / 417.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3033, allocations: 0 / 417.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.3036, allocations: 35.84 kB / 417.2 MB, free: 9.246 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 9.999e-05/0.3037, allocations: 103.2 kB / 417.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3041, allocations: 128.4 kB / 417.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3041, allocations: 0 / 417.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.3042, allocations: 32.3 kB / 417.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3047, allocations: 55.97 kB / 417.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.3055, allocations: 414.3 kB / 417.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3057, allocations: 0.7123 MB / 418.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.3058, allocations: 21.02 kB / 418.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3058, allocations: 11.44 kB / 418.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3058, allocations: 0 / 418.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of Templates: time 0.003925/0.3097, allocations: 1.346 MB / 420 MB, free: 6.414 MB / 334.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/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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches