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.001269/0.001269, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 55.84 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004175/0.1131, allocations: 2.055 MB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1144, allocations: 0.5415 MB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1146, allocations: 0 / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1148, allocations: 19.8 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1149, allocations: 23.72 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1153, allocations: 67.38 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1155, allocations: 131.5 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1157, allocations: 57.77 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1158, allocations: 47.8 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.116, allocations: 63.69 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.116, allocations: 12 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.116, allocations: 12 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.1161, allocations: 23.92 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1162, allocations: 59.67 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1164, allocations: 131.4 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1164, allocations: 0 / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1164, allocations: 0 / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1164, allocations: 0 / 362.1 MB, free: 10.11 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.0007309/0.1171, allocations: 442.9 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1172, allocations: 8.031 kB / 362.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1173, allocations: 16.75 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1176, allocations: 204.2 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1176, allocations: 8.375 kB / 362.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.1177, allocations: 20.31 kB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.1182, allocations: 234.8 kB / 363 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1182, allocations: 11.88 kB / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1182, allocations: 0 / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1182, allocations: 4 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1185, allocations: 87.88 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.1193, allocations: 0.5959 MB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1196, allocations: 143.9 kB / 363.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1198, allocations: 78.56 kB / 364 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1198, allocations: 4 kB / 364 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1199, allocations: 42.5 kB / 364 MB, free: 8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1199, allocations: 0 / 364 MB, free: 8 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005063/0.1204, allocations: 177.2 kB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.1205, allocations: 114.9 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1206, allocations: 140.5 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1207, allocations: 29.7 kB / 364.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1208, allocations: 116 kB / 364.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.1208, allocations: 23.7 kB / 364.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1209, allocations: 33.72 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1211, allocations: 326.8 kB / 364.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1212, allocations: 39.91 kB / 365 MB, free: 6.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1214, allocations: 145.2 kB / 365.1 MB, free: 6.77 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.0004717/0.1219, allocations: 286.8 kB / 365.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1219, allocations: 0 / 365.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004169/0.1223, allocations: 201.2 kB / 365.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1223, allocations: 8 kB / 365.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.1224, allocations: 0 / 365.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1224, allocations: 8 kB / 365.6 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1226, allocations: 48.28 kB / 365.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1226, allocations: 4 kB / 365.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1227, allocations: 20.23 kB / 365.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1227, allocations: 16 kB / 365.7 MB, free: 6.117 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.0001416/0.1229, allocations: 141.5 kB / 365.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.1231, allocations: 89.53 kB / 365.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.1231, allocations: 16.7 kB / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1231, allocations: 4 kB / 365.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1231, allocations: 0 / 365.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1232, allocations: 0 / 365.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.1235, allocations: 217.4 kB / 366.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1235, allocations: 0 / 366.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.1237, allocations: 51.89 kB / 366.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1237, allocations: 4 kB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1237, allocations: 4 kB / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1237, allocations: 0 / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1237, allocations: 7.984 kB / 366.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1243, allocations: 375.4 kB / 366.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.1244, allocations: 104.8 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1244, allocations: 8 kB / 366.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1246, allocations: 11.98 kB / 366.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.1246, allocations: 4 kB / 366.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1246, allocations: 4 kB / 366.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.1247, allocations: 106.3 kB / 366.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1247, allocations: 4.062 kB / 366.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.1251, allocations: 28 kB / 366.9 MB, free: 4.859 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.0001597/0.1253, allocations: 99.25 kB / 367 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1257, allocations: 124.7 kB / 367.1 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1257, allocations: 4 kB / 367.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.1258, allocations: 31.92 kB / 367.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.1263, allocations: 68.25 kB / 367.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.1273, allocations: 417.9 kB / 367.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1276, allocations: 0.7123 MB / 368.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.1277, allocations: 17.08 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.1277, allocations: 15.44 kB / 368.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1278, allocations: 0 / 368.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of Templates: time 0.004651/0.1324, allocations: 1.309 MB / 369.6 MB, free: 2.043 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 -s cvode -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