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.0007592/0.0007592, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003147/0.003147, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8383/0.8383, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.192e-06/1.192e-06, allocations: 0 / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.679e-05, allocations: 4.812 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002199/0.002216, allocations: 2.04 MB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.002906, allocations: 0.5141 MB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.003001, allocations: 4 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.556e-05/0.003096, allocations: 19.8 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.003157, allocations: 31.66 kB / 328.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.003396, allocations: 59.19 kB / 328.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.003548, allocations: 135.5 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.003675, allocations: 34.58 kB / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.003763, allocations: 75.81 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.003822, allocations: 39.88 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.003849, allocations: 8 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.003862, allocations: 12 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.003886, allocations: 35.84 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.00392, allocations: 39.91 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.004073, allocations: 131.5 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004075, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004076, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.00408, allocations: 0 / 329 MB, free: 12.12 MB / 298.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.000421/0.004501, allocations: 357.7 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004532, allocations: 8.031 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.004566, allocations: 16.84 kB / 329.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.004744, allocations: 153.6 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004754, allocations: 8.375 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.00478, allocations: 12.38 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.00511, allocations: 235.1 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.00512, allocations: 192 / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.005131, allocations: 4.375 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005138, allocations: 11.94 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.005279, allocations: 87.86 kB / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.005712, allocations: 496.5 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.005936, allocations: 139.9 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.00602, allocations: 78.56 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.00604, allocations: 7.938 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.00606, allocations: 42.5 kB / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.006061, allocations: 0 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002962/0.006357, allocations: 173.4 kB / 330.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.006414, allocations: 110.8 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.006494, allocations: 142 kB / 331 MB, free: 9.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006507, allocations: 29.7 kB / 331 MB, free: 9.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.006559, allocations: 120.1 kB / 331.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.006574, allocations: 27.8 kB / 331.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.006607, allocations: 25.7 kB / 331.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.00668, allocations: 318.8 kB / 331.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.006735, allocations: 35.97 kB / 331.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.006804, allocations: 79.7 kB / 331.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.006931, allocations: 118.7 kB / 331.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006933, allocations: 0 / 331.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001566/0.00709, allocations: 141.6 kB / 331.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.007101, allocations: 4 kB / 331.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.007108, allocations: 7.984 kB / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.007118, allocations: 0 / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.007189, allocations: 35.91 kB / 331.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007194, allocations: 0 / 331.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.007237, allocations: 19.89 kB / 332 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.007243, allocations: 4 kB / 332 MB, free: 8.84 MB / 298.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 6.871e-05/0.007312, allocations: 125.8 kB / 332.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.007403, allocations: 93.97 kB / 332.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.007432, allocations: 16.78 kB / 332.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.007436, allocations: 4.094 kB / 332.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.00744, allocations: 3.938 kB / 332.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.007444, allocations: 3.984 kB / 332.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.007581, allocations: 145.2 kB / 332.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007583, allocations: 4 kB / 332.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.007694, allocations: 43.91 kB / 332.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007696, allocations: 0 / 332.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.007707, allocations: 11.94 kB / 332.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007708, allocations: 4 kB / 332.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007709, allocations: 0 / 332.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.008015, allocations: 386.6 kB / 332.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.00803, allocations: 15.92 kB / 332.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008045, allocations: 3.984 kB / 332.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.008114, allocations: 11.98 kB / 332.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.008146, allocations: 7.984 kB / 332.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008151, allocations: 4 kB / 332.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.008194, allocations: 110.2 kB / 332.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008194, allocations: 0 / 332.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.008387, allocations: 35.83 kB / 333 MB, free: 7.773 MB / 298.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 6.536e-05/0.008452, allocations: 95.25 kB / 333.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.00862, allocations: 99.81 kB / 333.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008622, allocations: 448 / 333.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.008667, allocations: 35.91 kB / 333.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.008989, allocations: 54.42 kB / 333.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.00951, allocations: 385.2 kB / 333.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.009576, allocations: 102.3 kB / 333.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.009608, allocations: 20.5 kB / 333.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009609, allocations: 0 / 333.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Templates: time 0.002105/0.01171, allocations: 1.594 MB / 335.3 MB, free: 5.34 MB / 298.7 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.117266170680523]