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.001861/0.001861, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002268/0.002268, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.65/2.65, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 60.53 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2519, allocations: 50.52 MB / 357.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.005708/0.2577, allocations: 2.127 MB / 359.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2592, allocations: 0.5338 MB / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.2596, allocations: 0 / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.2598, allocations: 15.86 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2599, allocations: 15.86 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.2604, allocations: 55.89 kB / 360.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.2607, allocations: 119.6 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.261, allocations: 65.75 kB / 360.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2611, allocations: 51.73 kB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2612, allocations: 59.7 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2613, allocations: 8 kB / 360.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.2613, allocations: 12 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.2614, allocations: 27.91 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.2615, allocations: 59.67 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.2617, allocations: 96.06 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2618, allocations: 0 / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2618, allocations: 0 / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2618, allocations: 0 / 360.9 MB, free: 11.18 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.000906/0.2627, allocations: 435 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.2628, allocations: 8.031 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.2629, allocations: 16.75 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.2794, allocations: 208.1 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2795, allocations: 12.38 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.2796, allocations: 12.38 kB / 361.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.2804, allocations: 234.8 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.2805, allocations: 4 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.2805, allocations: 4 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2805, allocations: 4 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.2809, allocations: 79.88 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.282, allocations: 0.5998 MB / 362.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.2826, allocations: 147.9 kB / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2828, allocations: 78.56 kB / 362.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2829, allocations: 4 kB / 362.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.2829, allocations: 38.5 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.2829, allocations: 0 / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008351/0.2838, allocations: 189.2 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.2839, allocations: 110.8 kB / 363 MB, free: 8.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2841, allocations: 138.3 kB / 363.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2842, allocations: 29.7 kB / 363.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.2843, allocations: 116 kB / 363.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2843, allocations: 23.7 kB / 363.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.2844, allocations: 33.72 kB / 363.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2846, allocations: 322.8 kB / 363.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2848, allocations: 35.97 kB / 363.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.2851, allocations: 152 kB / 363.8 MB, free: 7.852 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.0006898/0.2858, allocations: 282 kB / 364.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2858, allocations: 0 / 364.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005543/0.2863, allocations: 205.3 kB / 364.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.2864, allocations: 8 kB / 364.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2864, allocations: 4 kB / 364.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2864, allocations: 4 kB / 364.3 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.2867, allocations: 47.91 kB / 364.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.2867, allocations: 4 kB / 364.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2869, allocations: 23.83 kB / 364.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2869, allocations: 8 kB / 364.4 MB, free: 7.207 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.0001875/0.2871, allocations: 141.8 kB / 364.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.2874, allocations: 93.89 kB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333e-05/0.2875, allocations: 16.72 kB / 364.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2875, allocations: 96 / 364.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.2875, allocations: 11.94 kB / 364.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2875, allocations: 0 / 364.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.2879, allocations: 209.4 kB / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.288, allocations: 3.984 kB / 364.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2883, allocations: 47.97 kB / 364.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2883, allocations: 4 kB / 364.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2883, allocations: 0 / 364.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.2884, allocations: 4 kB / 364.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2884, allocations: 3.938 kB / 364.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.2891, allocations: 383.4 kB / 365.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.2892, allocations: 92.89 kB / 365.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.2893, allocations: 4 kB / 365.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2895, allocations: 7.984 kB / 365.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.2895, allocations: 4 kB / 365.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2896, allocations: 8 kB / 365.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2897, allocations: 109.5 kB / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2897, allocations: 0 / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.2902, allocations: 24.06 kB / 365.6 MB, free: 5.961 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.000154/0.2904, allocations: 111.1 kB / 365.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.2909, allocations: 128.6 kB / 365.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2909, allocations: 0 / 365.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2911, allocations: 31.98 kB / 365.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.2919, allocations: 68.34 kB / 365.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2934, allocations: 499.4 kB / 366.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.2938, allocations: 0.7201 MB / 367.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.2939, allocations: 15.44 kB / 367.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2939, allocations: 0 / 367.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of Templates: time 0.02133/0.3153, allocations: 1.612 MB / 368.7 MB, free: 2.727 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