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.001738/0.001738, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.00212/0.00212, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.538/1.538, allocations: 230.2 MB / 254.5 MB, free: 15.22 MB / 206.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.001858/0.001858, allocations: 71.88 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 53.31 MB / 427.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004178/0.1212, allocations: 2.087 MB / 429.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1222, allocations: 0.5375 MB / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1223, allocations: 4 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1225, allocations: 19.8 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.1226, allocations: 31.7 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1228, allocations: 55.88 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1231, allocations: 127.6 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1232, allocations: 45.8 kB / 430 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.1233, allocations: 55.72 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.1234, allocations: 51.77 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1234, allocations: 15.94 kB / 430.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.1234, allocations: 8 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1235, allocations: 27.86 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.1235, allocations: 63.66 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1238, allocations: 127.4 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1238, allocations: 0 / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1238, allocations: 0 / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1238, allocations: 0 / 430.4 MB, free: 1.211 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.0006908/0.1245, allocations: 442.8 kB / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1245, allocations: 8.031 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.1245, allocations: 16.84 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1248, allocations: 212.1 kB / 431 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1249, allocations: 8.375 kB / 431 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.1249, allocations: 12.38 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.1254, allocations: 254.7 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1254, allocations: 0 / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1255, allocations: 4 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1255, allocations: 4 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.1257, allocations: 83.88 kB / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.1267, allocations: 0.5922 MB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1271, allocations: 143.9 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1273, allocations: 82.62 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1273, allocations: 0 / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1273, allocations: 34.56 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1273, allocations: 0 / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005262/0.1279, allocations: 185.4 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.128, allocations: 111.2 kB / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1281, allocations: 142.1 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1281, allocations: 25.7 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1282, allocations: 116.1 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1283, allocations: 35.72 kB / 432.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.1283, allocations: 33.72 kB / 432.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1285, allocations: 322.9 kB / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1286, allocations: 39.97 kB / 433.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1288, allocations: 138.1 kB / 433.4 MB, free: 13.88 MB / 366.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.0004495/0.1292, allocations: 278.6 kB / 433.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1292, allocations: 4 kB / 433.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003868/0.1296, allocations: 201.2 kB / 433.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1296, allocations: 4 kB / 433.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1296, allocations: 4 kB / 433.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1297, allocations: 4 kB / 433.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1298, allocations: 48.38 kB / 433.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1298, allocations: 7.938 kB / 433.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1299, allocations: 27.88 kB / 433.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.13, allocations: 12 kB / 433.9 MB, free: 13.23 MB / 366.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.0001274/0.1301, allocations: 125.8 kB / 434.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.1303, allocations: 93.56 kB / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1303, allocations: 16.72 kB / 434.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1303, allocations: 7.938 kB / 434.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1303, allocations: 0 / 434.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1303, allocations: 4 kB / 434.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.1307, allocations: 221.4 kB / 434.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1307, allocations: 0 / 434.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1309, allocations: 47.89 kB / 434.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1309, allocations: 0 / 434.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1309, allocations: 8 kB / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1309, allocations: 0 / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1309, allocations: 0 / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.1315, allocations: 391.3 kB / 434.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.1316, allocations: 85.09 kB / 434.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1316, allocations: 4 kB / 434.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1317, allocations: 11.98 kB / 434.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1318, allocations: 4 kB / 434.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1318, allocations: 4.156 kB / 434.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.1318, allocations: 113.4 kB / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 0 / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1322, allocations: 35.89 kB / 435.1 MB, free: 11.97 MB / 366.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.000131/0.1323, allocations: 99.48 kB / 435.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.1327, allocations: 128.2 kB / 435.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1327, allocations: 4 kB / 435.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1328, allocations: 27.92 kB / 435.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.1333, allocations: 59.88 kB / 435.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.1343, allocations: 415.6 kB / 435.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1346, allocations: 0.7201 MB / 436.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.1347, allocations: 13.08 kB / 436.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1347, allocations: 15.44 kB / 436.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1347, allocations: 0 / 436.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Templates: time 0.004718/0.1395, allocations: 1.358 MB / 437.9 MB, free: 9.121 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins/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.687644571997225]