Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002521, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002259, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7995/0.7995, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.133/0.9325, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 239.7 MB, free: 6.402 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/1.005e-05, allocations: 6.312 kB / 239.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.001881/0.001891, allocations: 1.947 MB / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004084/0.002299, allocations: 460.1 kB / 242.1 MB, free: 4 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.002361, allocations: 8.562 kB / 242.1 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.002411, allocations: 12.45 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.002459, allocations: 28.31 kB / 242.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.275e-05/0.002532, allocations: 33.58 kB / 242.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.002641, allocations: 107.5 kB / 242.3 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.00273, allocations: 34.22 kB / 242.3 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.002818, allocations: 67.81 kB / 242.4 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.002877, allocations: 33.05 kB / 242.4 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.002896, allocations: 8 kB / 242.4 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.002909, allocations: 8 kB / 242.5 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.00293, allocations: 16.94 kB / 242.5 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.002955, allocations: 27.94 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.00306, allocations: 67.73 kB / 242.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.003071, allocations: 1 kB / 242.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003072, allocations: 0 / 242.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.003079, allocations: 3.938 kB / 242.6 MB, free: 3.551 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003374/0.003416, allocations: 321.1 kB / 242.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.003442, allocations: 8.719 kB / 242.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.003472, allocations: 17.64 kB / 242.9 MB, free: 3.191 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.003592, allocations: 141.6 kB / 243 MB, free: 3.027 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.0036, allocations: 9.219 kB / 243.1 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.003622, allocations: 10.91 kB / 243.1 MB, free: 3.012 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.003746, allocations: 114.7 kB / 243.2 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003753, allocations: 0 / 243.2 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.003764, allocations: 8 kB / 243.2 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003768, allocations: 0 / 243.2 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.003805, allocations: 19.98 kB / 243.2 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.004147, allocations: 378.4 kB / 243.6 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.126e-05/0.004219, allocations: 50.48 kB / 243.6 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.00424, allocations: 21.66 kB / 243.6 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.004247, allocations: 7.984 kB / 243.7 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.004263, allocations: 39.59 kB / 243.7 MB, free: 2.324 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.004265, allocations: 0 / 243.7 MB, free: 2.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 9.944e-05/0.004364, allocations: 57.62 kB / 243.7 MB, free: 2.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.004384, allocations: 54.53 kB / 243.8 MB, free: 2.199 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.004442, allocations: 130.8 kB / 243.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004451, allocations: 25.7 kB / 244 MB, free: 2.027 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.004487, allocations: 112.1 kB / 244.1 MB, free: 1.914 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.004505, allocations: 35.72 kB / 244.1 MB, free: 1.879 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.004531, allocations: 21.72 kB / 244.1 MB, free: 1.852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.004593, allocations: 322.8 kB / 244.4 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.004606, allocations: 8 kB / 244.4 MB, free: 1.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.004633, allocations: 49.3 kB / 244.5 MB, free: 1.461 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.004685, allocations: 69.19 kB / 244.6 MB, free: 1.379 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004687, allocations: 4 kB / 244.6 MB, free: 1.375 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.177e-05/0.004759, allocations: 75.42 kB / 244.6 MB, free: 1.297 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.004769, allocations: 11.88 kB / 244.6 MB, free: 1.285 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.004774, allocations: 4 kB / 244.6 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.004782, allocations: 5.719 kB / 244.7 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.004918, allocations: 39.97 kB / 244.7 MB, free: 1.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.004921, allocations: 4 kB / 244.7 MB, free: 1.234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.00495, allocations: 11.89 kB / 244.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004954, allocations: 0.6562 kB / 244.7 MB, free: 1.223 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.06e-05/0.005004, allocations: 118.5 kB / 244.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.00502, allocations: 13.89 kB / 244.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.005043, allocations: 12.44 kB / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.005044, allocations: 0 / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005045, allocations: 0 / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005048, allocations: 0 / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.005125, allocations: 89.86 kB / 244.9 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005126, allocations: 0.5 kB / 244.9 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.005194, allocations: 24.8 kB / 245 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.005203, allocations: 11.89 kB / 245 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005205, allocations: 5.656 kB / 245 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.005213, allocations: 0 / 245 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005214, allocations: 0 / 245 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.005215, allocations: 0 / 245 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.005322, allocations: 171.6 kB / 245.1 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005332, allocations: 11.94 kB / 245.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.005367, allocations: 4 kB / 245.2 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.00539, allocations: 3.984 kB / 245.2 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.005392, allocations: 0 / 245.2 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.00541, allocations: 27.92 kB / 245.2 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00541, allocations: 0 / 245.2 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.005535, allocations: 27.89 kB / 245.2 MB, free: 0.668 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 5.903e-05/0.005594, allocations: 76.42 kB / 245.3 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.005667, allocations: 52.72 kB / 245.3 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.005675, allocations: 3.984 kB / 245.4 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.005702, allocations: 24.84 kB / 245.4 MB, free: 0.5 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.005926, allocations: 215.9 kB / 245.6 MB, free: 252 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.00721, allocations: 277.6 kB / 245.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.007243, allocations: 63.34 kB / 245.9 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.007269, allocations: 4.5 kB / 245.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.007329, allocations: 67.36 kB / 246 MB, free: 15.8 MB / 250.7 MB Notification: Performance of SimCode: time 6.22e-07/0.00733, allocations: 0 / 246 MB, free: 15.8 MB / 250.7 MB Notification: Performance of Templates: time 0.002409/0.009739, allocations: 1.204 MB / 247.2 MB, free: 14.63 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1470124404877424]