Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.285, allocations: 53.3 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003748/0.2888, allocations: 2.109 MB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2899, allocations: 0.5376 MB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.29, allocations: 8 kB / 434.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.2902, allocations: 15.8 kB / 434.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.2902, allocations: 27.72 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2905, allocations: 59.86 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2908, allocations: 127.6 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2909, allocations: 37.81 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.291, allocations: 59.72 kB / 435 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2911, allocations: 55.7 kB / 435.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2911, allocations: 12 kB / 435.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.2912, allocations: 12 kB / 435.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2912, allocations: 23.92 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.2913, allocations: 59.67 kB / 435.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.2915, allocations: 129 kB / 435.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2915, allocations: 0 / 435.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2915, allocations: 4 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2915, allocations: 0 / 435.3 MB, free: 4.121 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.0007388/0.2922, allocations: 438.8 kB / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2923, allocations: 12.03 kB / 435.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.2923, allocations: 16.84 kB / 435.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.2927, allocations: 204.2 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2927, allocations: 8.375 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.2927, allocations: 16.31 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.2932, allocations: 243.4 kB / 436.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2932, allocations: 3.938 kB / 436.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.2933, allocations: 8 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2933, allocations: 7.938 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.2935, allocations: 79.88 kB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.2943, allocations: 0.5999 MB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.2947, allocations: 147.9 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2948, allocations: 70.58 kB / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.2949, allocations: 0 / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2949, allocations: 42.55 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.2949, allocations: 0 / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005679/0.2955, allocations: 181.3 kB / 437.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.2956, allocations: 110.8 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2957, allocations: 141.5 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2957, allocations: 25.7 kB / 437.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.2958, allocations: 124 kB / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.2958, allocations: 27.78 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2959, allocations: 37.7 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2961, allocations: 322.8 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2962, allocations: 39.91 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.2964, allocations: 133.7 kB / 438.3 MB, free: 0.793 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.0005281/0.297, allocations: 282.6 kB / 438.6 MB, free: 460 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.297, allocations: 4 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004486/0.2974, allocations: 213.6 kB / 438.8 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2974, allocations: 8 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2974, allocations: 0 / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2975, allocations: 8 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2976, allocations: 43.91 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.2976, allocations: 4 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2977, allocations: 20.33 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2977, allocations: 8 kB / 438.9 MB, free: 144 kB / 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.0001608/0.2979, allocations: 145.8 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.2981, allocations: 93.47 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.2981, allocations: 12.72 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2981, allocations: 7.984 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2981, allocations: 0 / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2981, allocations: 0 / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.2985, allocations: 217.4 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2985, allocations: 0 / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.2987, allocations: 47.91 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2987, allocations: 8 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2987, allocations: 0 / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.2987, allocations: 3.984 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2987, allocations: 4 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.2993, allocations: 376.6 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.2993, allocations: 92.97 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.2994, allocations: 11.98 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2995, allocations: 4 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2995, allocations: 7.984 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2996, allocations: 8 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.426e-05/0.2996, allocations: 99.27 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2996, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000326/0.3, allocations: 36.02 kB / 440 MB, free: 14.88 MB / 350.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.0001092/0.3001, allocations: 103.2 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3005, allocations: 116.6 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3005, allocations: 0 / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3006, allocations: 35.97 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.3011, allocations: 56.31 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.302, allocations: 440.1 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.3025, allocations: 0.7162 MB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.3025, allocations: 9.078 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.3026, allocations: 19.44 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3026, allocations: 0 / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004749/0.3073, allocations: 1.406 MB / 442.9 MB, free: 11.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.523909098934382]