Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 114.9 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009985/0.0009986, allocations: 47.39 kB / 302.1 MB, free: 5.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09182, allocations: 49.44 MB / 351.5 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003111/0.09497, allocations: 2.038 MB / 353.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.09573, allocations: 0.5064 MB / 354 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.09582, allocations: 0 / 354 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.041e-05/0.09591, allocations: 19.8 kB / 354.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.09598, allocations: 27.72 kB / 354.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.0962, allocations: 55.88 kB / 354.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.09637, allocations: 131.5 kB / 354.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.0965, allocations: 53.66 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.09657, allocations: 51.73 kB / 354.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.09666, allocations: 63.69 kB / 354.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.09669, allocations: 8 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.09671, allocations: 12 kB / 354.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.09674, allocations: 27.92 kB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.0968, allocations: 59.67 kB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.09697, allocations: 127.5 kB / 354.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09698, allocations: 3.938 kB / 354.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09699, allocations: 3.938 kB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.097, allocations: 0 / 354.7 MB, free: 0.5625 MB / 286.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.0005657/0.09757, allocations: 438.9 kB / 355.1 MB, free: 88 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.0976, allocations: 12.03 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.09765, allocations: 20.75 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.09791, allocations: 204.2 kB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.09793, allocations: 8.375 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.09797, allocations: 16.31 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.09839, allocations: 235.3 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.09841, allocations: 7.938 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.09843, allocations: 0 / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.09844, allocations: 4 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.09866, allocations: 83.88 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.09924, allocations: 0.6037 MB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.09957, allocations: 143.9 kB / 356.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.09973, allocations: 78.56 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.09976, allocations: 4 kB / 356.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.09979, allocations: 42.56 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.09979, allocations: 0 / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004437/0.1002, allocations: 177.3 kB / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.1003, allocations: 114.7 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1005, allocations: 144.8 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1005, allocations: 33.83 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.1005, allocations: 108 kB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.1006, allocations: 23.7 kB / 357.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1006, allocations: 34.09 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1008, allocations: 326.8 kB / 357.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1009, allocations: 43.91 kB / 357.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1011, allocations: 148.8 kB / 357.7 MB, free: 13.22 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.0004101/0.1015, allocations: 286.6 kB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1015, allocations: 0 / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000354/0.1019, allocations: 197.5 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1019, allocations: 8 kB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1019, allocations: 4 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1019, allocations: 4 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1021, allocations: 51.91 kB / 358.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1021, allocations: 7.984 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.693e-05/0.1022, allocations: 15.89 kB / 358.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1022, allocations: 12 kB / 358.3 MB, free: 12.57 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.000115/0.1023, allocations: 141.7 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1025, allocations: 89.53 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1025, allocations: 20.7 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1026, allocations: 0 / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1026, allocations: 4 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1026, allocations: 0 / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1028, allocations: 209.5 kB / 358.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1029, allocations: 0 / 358.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.1031, allocations: 51.89 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1031, allocations: 4 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1031, allocations: 0 / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1031, allocations: 4 kB / 358.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1031, allocations: 0 / 358.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.1037, allocations: 390.9 kB / 359.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1037, allocations: 100.9 kB / 359.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1038, allocations: 0 / 359.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1039, allocations: 11.98 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1039, allocations: 4 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.104, allocations: 4 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.745e-05/0.104, allocations: 107.2 kB / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.104, allocations: 0 / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1044, allocations: 24 kB / 359.4 MB, free: 11.33 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.0001061/0.1045, allocations: 107.3 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1048, allocations: 135.7 kB / 359.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1048, allocations: 0.9375 kB / 359.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.1049, allocations: 31.92 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1054, allocations: 67.94 kB / 359.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.1061, allocations: 410.4 kB / 360.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1064, allocations: 0.7162 MB / 360.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.1064, allocations: 9.078 kB / 360.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.1065, allocations: 19.44 kB / 360.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1065, allocations: 0 / 360.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of Templates: time 0.003826/0.1103, allocations: 1.317 MB / 362.2 MB, free: 8.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches