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.001278/0.001278, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001352/0.001352, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.407/1.407, allocations: 177 MB / 204.1 MB, free: 9.164 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 1.403e-06/1.403e-06, allocations: 0 / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.329e-05, allocations: 2.281 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004116/0.004139, allocations: 2.039 MB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.00526, allocations: 0.5094 MB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.005382, allocations: 6.406 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.005516, allocations: 21.61 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.005602, allocations: 34.98 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.005934, allocations: 56.27 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.006145, allocations: 133.4 kB / 327.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.006303, allocations: 43.98 kB / 327.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.006428, allocations: 69.98 kB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.006512, allocations: 44.77 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.006546, allocations: 10.47 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.006569, allocations: 9.688 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.006604, allocations: 20.52 kB / 328 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.006667, allocations: 44.77 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.006908, allocations: 130.3 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.006912, allocations: 1 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006913, allocations: 0 / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.006922, allocations: 0 / 328.1 MB, free: 14.48 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.0006505/0.007573, allocations: 362.1 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.007619, allocations: 13.88 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.007669, allocations: 15.97 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.00796, allocations: 153.3 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.007978, allocations: 9.281 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.008015, allocations: 13.22 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.008552, allocations: 235.5 kB / 328.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.008567, allocations: 1.281 kB / 328.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.008583, allocations: 5.531 kB / 328.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.008595, allocations: 15.94 kB / 329 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.00885, allocations: 80.33 kB / 329 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.00957, allocations: 492.7 kB / 329.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.009953, allocations: 146.4 kB / 329.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.01013, allocations: 69.38 kB / 329.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01015, allocations: 11.3 kB / 329.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.01019, allocations: 33.2 kB / 329.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.01019, allocations: 0 / 329.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005737/0.01076, allocations: 184.4 kB / 329.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.01086, allocations: 108.8 kB / 330.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01099, allocations: 137.3 kB / 330.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.01102, allocations: 31.44 kB / 330.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.01111, allocations: 121.4 kB / 330.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.01114, allocations: 29.7 kB / 330.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.01119, allocations: 27.58 kB / 330.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01134, allocations: 324.4 kB / 330.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01145, allocations: 27.5 kB / 330.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.01161, allocations: 86.27 kB / 330.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01187, allocations: 120.4 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01187, allocations: 1.031 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003201/0.01219, allocations: 137.1 kB / 331.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01221, allocations: 13.78 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01222, allocations: 1.812 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01223, allocations: 3.719 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01236, allocations: 26.03 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01236, allocations: 2.906 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.01246, allocations: 17.08 kB / 331.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01247, allocations: 8.906 kB / 331.1 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (12): * Single equations (assignments): 12 * 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.0001148/0.01258, allocations: 125.5 kB / 331.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.01275, allocations: 96.06 kB / 331.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.0128, allocations: 18.17 kB / 331.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.0128, allocations: 2.281 kB / 331.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.01281, allocations: 1.719 kB / 331.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01281, allocations: 1.641 kB / 331.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.01306, allocations: 140.1 kB / 331.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01306, allocations: 0 / 331.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.01328, allocations: 41.31 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01329, allocations: 1.906 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.0133, allocations: 3.469 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.0133, allocations: 6.078 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01331, allocations: 0 / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.01398, allocations: 391.8 kB / 332 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01401, allocations: 10.16 kB / 332 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.01404, allocations: 9 kB / 332 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.01418, allocations: 7.828 kB / 332 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.01423, allocations: 5.25 kB / 332 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01424, allocations: 7.781 kB / 332 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.01433, allocations: 107.6 kB / 332.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01433, allocations: 0 / 332.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.01464, allocations: 34.73 kB / 332.1 MB, free: 11.34 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.0001551/0.0148, allocations: 106 kB / 332.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.01513, allocations: 92.86 kB / 332.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01514, allocations: 448 / 332.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01524, allocations: 32.98 kB / 332.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.01578, allocations: 65 kB / 332.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.01665, allocations: 359.7 kB / 332.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.01677, allocations: 108.1 kB / 332.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.01682, allocations: 9.688 kB / 332.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.01687, allocations: 18.2 kB / 332.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01687, allocations: 0 / 332.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Templates: time 0.004876/0.02174, allocations: 1.312 MB / 334.2 MB, free: 10.13 MB / 302.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.243034239858389]