Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 51.92 kB / 373.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 53.32 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004321/0.126, allocations: 2.09 MB / 428.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1273, allocations: 0.5298 MB / 429.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1274, allocations: 11.94 kB / 429.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.1276, allocations: 15.8 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.1277, allocations: 27.72 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1281, allocations: 55.88 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1284, allocations: 135.5 kB / 429.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1285, allocations: 41.8 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1287, allocations: 51.8 kB / 429.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1288, allocations: 59.69 kB / 429.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1288, allocations: 12 kB / 429.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.1288, allocations: 12 kB / 429.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.1289, allocations: 27.86 kB / 429.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.1289, allocations: 63.67 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1292, allocations: 127.4 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1292, allocations: 4 kB / 430 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1292, allocations: 0 / 430 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1292, allocations: 0 / 430 MB, free: 1.047 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.0007441/0.13, allocations: 430.9 kB / 430.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.13, allocations: 12.03 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.1301, allocations: 20.78 kB / 430.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1304, allocations: 208.2 kB / 430.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1304, allocations: 12.38 kB / 430.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.1304, allocations: 12.38 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.131, allocations: 242.8 kB / 430.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.131, allocations: 0 / 430.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.131, allocations: 8 kB / 431 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.131, allocations: 7.938 kB / 431 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2313/0.3623, allocations: 72.23 kB / 431 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.3631, allocations: 0.5973 MB / 431.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3634, allocations: 144.9 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3636, allocations: 73.52 kB / 431.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3636, allocations: 3.688 kB / 431.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3636, allocations: 37.78 kB / 431.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.3636, allocations: 0 / 431.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005631/0.3642, allocations: 178.6 kB / 432.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.3642, allocations: 120 kB / 432.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3644, allocations: 138 kB / 432.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3644, allocations: 29.77 kB / 432.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.3644, allocations: 116.9 kB / 432.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3644, allocations: 30 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.3645, allocations: 36.39 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.3646, allocations: 322.8 kB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3647, allocations: 36.05 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3649, allocations: 140.2 kB / 433 MB, free: 9.969 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.0003883/0.3653, allocations: 280.7 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3653, allocations: 1.094 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003816/0.3656, allocations: 197.5 kB / 433.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3657, allocations: 11.78 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3657, allocations: 4.594 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3657, allocations: 5.531 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3659, allocations: 46.89 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3659, allocations: 4.906 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.366, allocations: 27.98 kB / 433.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.366, allocations: 9.125 kB / 433.6 MB, free: 9.703 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 9.129e-05/0.3661, allocations: 131.3 kB / 433.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3662, allocations: 94.45 kB / 433.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3663, allocations: 24.19 kB / 433.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3663, allocations: 3.156 kB / 433.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3663, allocations: 0 / 433.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3663, allocations: 3.375 kB / 433.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3665, allocations: 208.7 kB / 434 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3665, allocations: 2.656 kB / 434 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3668, allocations: 45.22 kB / 434.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3668, allocations: 13.88 kB / 434.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3668, allocations: 1.969 kB / 434.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3668, allocations: 2.906 kB / 434.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3668, allocations: 0 / 434.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.3673, allocations: 377.7 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.3673, allocations: 95.86 kB / 434.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3673, allocations: 3.906 kB / 434.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3675, allocations: 12.67 kB / 434.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.3675, allocations: 8.078 kB / 434.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3675, allocations: 8.406 kB / 434.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.3676, allocations: 105.4 kB / 434.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3676, allocations: 1.156 kB / 434.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.3679, allocations: 32.17 kB / 434.7 MB, free: 8.941 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 9.036e-05/0.368, allocations: 100.7 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.3684, allocations: 130.4 kB / 435 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3684, allocations: 0 / 435 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3685, allocations: 26.39 kB / 435 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.369, allocations: 65.88 kB / 435 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.3698, allocations: 417.2 kB / 435.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.3699, allocations: 0.7152 MB / 436.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.37, allocations: 14.22 kB / 436.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.37, allocations: 15.03 kB / 436.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.37, allocations: 0 / 436.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of Templates: time 0.005207/0.3752, allocations: 1.355 MB / 437.6 MB, free: 7.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.961431309580803]