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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001959/0.001959, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 177.1 MB / 204.7 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] 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=5051,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=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 61.42 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1066, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003779/0.1104, allocations: 2.03 MB / 380.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1114, allocations: 0.5103 MB / 381.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1115, allocations: 0 / 381.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1116, allocations: 19.8 kB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.1117, allocations: 35.72 kB / 381.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.112, allocations: 59.62 kB / 381.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1122, allocations: 131.5 kB / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1124, allocations: 45.84 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.1125, allocations: 47.86 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.1126, allocations: 51.7 kB / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.1126, allocations: 12 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.1126, allocations: 8 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.1127, allocations: 27.91 kB / 381.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.1127, allocations: 51.73 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1131, allocations: 135.4 kB / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1131, allocations: 0 / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1131, allocations: 0 / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1131, allocations: 3.938 kB / 382.1 MB, free: 12.34 MB / 350.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.0006418/0.1137, allocations: 353.8 kB / 382.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1138, allocations: 15.98 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1138, allocations: 16.84 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1141, allocations: 149.5 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1141, allocations: 20.31 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1142, allocations: 16.33 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.1147, allocations: 234.9 kB / 382.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1147, allocations: 0 / 382.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1147, allocations: 4 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1147, allocations: 4 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.1149, allocations: 83.88 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.1156, allocations: 496.6 kB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1159, allocations: 147.9 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1161, allocations: 70.62 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1162, allocations: 4 kB / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1162, allocations: 34.5 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1162, allocations: 4 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005079/0.1167, allocations: 177.5 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1168, allocations: 122.8 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1169, allocations: 141.2 kB / 384.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1169, allocations: 25.7 kB / 384.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.117, allocations: 115.9 kB / 384.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1171, allocations: 23.84 kB / 384.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.1171, allocations: 41.83 kB / 384.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1173, allocations: 326.8 kB / 384.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1174, allocations: 35.98 kB / 384.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1176, allocations: 137.6 kB / 384.8 MB, free: 9.32 MB / 350.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.0004332/0.1181, allocations: 210.7 kB / 385 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1181, allocations: 4 kB / 385 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003922/0.1185, allocations: 201.6 kB / 385.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1185, allocations: 16.42 kB / 385.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1185, allocations: 4 kB / 385.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1185, allocations: 4 kB / 385.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1187, allocations: 43.92 kB / 385.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1187, allocations: 11.88 kB / 385.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1188, allocations: 19.94 kB / 385.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1188, allocations: 8 kB / 385.3 MB, free: 8.758 MB / 350.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.0001268/0.1189, allocations: 133.7 kB / 385.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.1191, allocations: 101.5 kB / 385.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1191, allocations: 16.78 kB / 385.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1191, allocations: 0 / 385.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1191, allocations: 4 kB / 385.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1191, allocations: 0 / 385.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1194, allocations: 137.2 kB / 385.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.1194, allocations: 4 kB / 385.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1196, allocations: 39.97 kB / 385.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1196, allocations: 3.938 kB / 385.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1196, allocations: 4 kB / 385.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1196, allocations: 4 kB / 385.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1196, allocations: 4 kB / 385.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.1202, allocations: 379.4 kB / 386.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.1202, allocations: 23.86 kB / 386.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1202, allocations: 0 / 386.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1204, allocations: 11.98 kB / 386.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1204, allocations: 7.984 kB / 386.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1204, allocations: 4 kB / 386.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.1205, allocations: 103.3 kB / 386.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1205, allocations: 0 / 386.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1208, allocations: 31.95 kB / 386.3 MB, free: 7.699 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.0001136/0.1209, allocations: 103.2 kB / 386.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1213, allocations: 128.5 kB / 386.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1213, allocations: 4.062 kB / 386.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.1214, allocations: 27.97 kB / 386.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1219, allocations: 56.25 kB / 386.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.1228, allocations: 430.4 kB / 387 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1229, allocations: 102.8 kB / 387.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.1229, allocations: 9.156 kB / 387.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.123, allocations: 16.48 kB / 387.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.123, allocations: 0 / 387.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of Templates: time 0.004699/0.1277, allocations: 1.429 MB / 388.6 MB, free: 5.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.439294907031581]