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.001941/0.001941, allocations: 100.2 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002409/0.002409, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.944e-06/1.944e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.422e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003958/0.003992, allocations: 2.046 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.005197, allocations: 0.5064 MB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.005346, allocations: 3.938 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.005483, allocations: 19.8 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.005598, allocations: 35.66 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.005909, allocations: 47.94 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.006142, allocations: 131.4 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.006292, allocations: 49.89 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.006427, allocations: 75.81 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.006511, allocations: 39.89 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.006539, allocations: 8 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.006563, allocations: 12 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.006597, allocations: 27.84 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.00666, allocations: 43.89 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.006898, allocations: 131.5 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.006903, allocations: 4 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006904, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.006909, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 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.0006648/0.007574, allocations: 357.8 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.007615, allocations: 11.98 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.007692, allocations: 20.84 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.007996, allocations: 154.4 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.008017, allocations: 16.38 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.008055, allocations: 12.38 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.008581, allocations: 231.1 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.008594, allocations: 192 / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.008614, allocations: 8.375 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.008623, allocations: 3.938 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.008885, allocations: 91.86 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.009592, allocations: 492.6 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.009971, allocations: 143.9 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01013, allocations: 70.58 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.01016, allocations: 7.984 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.0102, allocations: 42.44 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.0102, allocations: 4 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005407/0.01074, allocations: 177.5 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.01084, allocations: 118.9 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01097, allocations: 136.5 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01099, allocations: 29.7 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.01108, allocations: 111.9 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01111, allocations: 23.84 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.01116, allocations: 25.84 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01133, allocations: 330.8 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01146, allocations: 35.97 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.01167, allocations: 79.7 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.01201, allocations: 122.9 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01201, allocations: 0 / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003126/0.01233, allocations: 137.4 kB / 278.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01234, allocations: 8 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01235, allocations: 4.219 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01236, allocations: 4 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.0125, allocations: 31.92 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.0125, allocations: 4 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.01259, allocations: 23.81 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.0126, allocations: 4 kB / 278.3 MB, free: 11.34 MB / 266.7 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.0001131/0.01272, allocations: 121.8 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.0129, allocations: 101.5 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.01294, allocations: 16.78 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01295, allocations: 4 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.01295, allocations: 4 kB / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01296, allocations: 0 / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.0132, allocations: 145.1 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0132, allocations: 0 / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.0135, allocations: 47.91 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01351, allocations: 0 / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01352, allocations: 4 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01353, allocations: 7.938 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01353, allocations: 0 / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.01412, allocations: 390.3 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01415, allocations: 15.92 kB / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01417, allocations: 4 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.01434, allocations: 11.98 kB / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.01439, allocations: 0 / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.01441, allocations: 7.984 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.01453, allocations: 103.3 kB / 279.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01454, allocations: 0 / 279.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.01484, allocations: 35.95 kB / 279.3 MB, free: 10.28 MB / 266.7 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.0001232/0.01496, allocations: 99.19 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.01527, allocations: 99.81 kB / 279.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01527, allocations: 0 / 279.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.0154, allocations: 32.34 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.01593, allocations: 63.16 kB / 279.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.01676, allocations: 363.3 kB / 280 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.01692, allocations: 102.3 kB / 280.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.01699, allocations: 16.95 kB / 280.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.01705, allocations: 20.5 kB / 280.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01705, allocations: 0 / 280.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of Templates: time 0.004617/0.02166, allocations: 1.331 MB / 281.5 MB, free: 8.156 MB / 266.7 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.398840237990953]