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.001226/0.001226, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001368/0.001368, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 48.55 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003483/0.1136, allocations: 2.039 MB / 353.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007946/0.1144, allocations: 0.5103 MB / 354 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.1145, allocations: 3.938 kB / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1147, allocations: 23.8 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.1148, allocations: 19.73 kB / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.115, allocations: 71.34 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1152, allocations: 119.6 kB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1154, allocations: 57.66 kB / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.1155, allocations: 47.8 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.1156, allocations: 59.75 kB / 354.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1156, allocations: 11.94 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.1156, allocations: 12 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.1157, allocations: 27.86 kB / 354.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.1158, allocations: 63.67 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1159, allocations: 127.5 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1159, allocations: 0 / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.116, allocations: 0 / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.116, allocations: 3.938 kB / 354.7 MB, free: 0.4922 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.0006137/0.1166, allocations: 435 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1166, allocations: 12.03 kB / 355.1 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1167, allocations: 16.92 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.117, allocations: 208.1 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.117, allocations: 16.38 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1171, allocations: 12.38 kB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.1176, allocations: 239.3 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1176, allocations: 0 / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1176, allocations: 4 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1176, allocations: 4 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1179, allocations: 79.88 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.1186, allocations: 0.6037 MB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1189, allocations: 155.9 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.119, allocations: 70.64 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1191, allocations: 7.938 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1191, allocations: 34.56 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1191, allocations: 4 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004596/0.1196, allocations: 177.3 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.1197, allocations: 118.7 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.1198, allocations: 137.9 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1198, allocations: 25.7 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.1199, allocations: 116.1 kB / 357.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1199, allocations: 23.7 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1199, allocations: 37.7 kB / 357.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1201, allocations: 322.8 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1202, allocations: 32.36 kB / 357.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1203, allocations: 156.8 kB / 357.7 MB, free: 13.16 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.0003802/0.1207, allocations: 274.7 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1207, allocations: 4 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003455/0.1211, allocations: 205.4 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1211, allocations: 8 kB / 358.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1211, allocations: 8 kB / 358.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1211, allocations: 4 kB / 358.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1213, allocations: 43.92 kB / 358.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1213, allocations: 7.984 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.1214, allocations: 15.91 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1214, allocations: 8 kB / 358.2 MB, free: 12.52 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.0001388/0.1216, allocations: 149.5 kB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1218, allocations: 93.53 kB / 358.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.1218, allocations: 16.72 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1218, allocations: 0 / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1218, allocations: 0 / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1218, allocations: 7.984 kB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1221, allocations: 209.4 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1221, allocations: 0 / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1223, allocations: 47.91 kB / 358.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1223, allocations: 4 kB / 358.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1223, allocations: 0 / 358.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1224, allocations: 12 kB / 358.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1224, allocations: 0 / 358.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.1229, allocations: 379.4 kB / 359.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1229, allocations: 88.98 kB / 359.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.123, allocations: 8.062 kB / 359.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1231, allocations: 7.984 kB / 359.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1231, allocations: 12.17 kB / 359.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1232, allocations: 7.984 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.1232, allocations: 106 kB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1232, allocations: 0 / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1235, allocations: 27.91 kB / 359.4 MB, free: 11.26 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.0001018/0.1237, allocations: 107.2 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.124, allocations: 131.7 kB / 359.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.124, allocations: 96 / 359.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.1241, allocations: 32.8 kB / 359.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1246, allocations: 67.94 kB / 359.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.1254, allocations: 406.4 kB / 360.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1257, allocations: 0.724 MB / 360.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.1257, allocations: 5.094 kB / 360.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1258, allocations: 19.42 kB / 360.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1258, allocations: 0 / 360.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of Templates: time 0.004022/0.1298, allocations: 1.32 MB / 362.2 MB, free: 8.43 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 cvode -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