Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.00117/0.00117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.00289, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001286/0.001286, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002905, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0906/1.091, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 244.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.775e-05, allocations: 2.312 kB / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002995/0.003022, allocations: 1.975 MB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.003675, allocations: 494.5 kB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.003764, allocations: 3.938 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.931e-05/0.003833, allocations: 15.86 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.003893, allocations: 31.78 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.657e-05/0.00399, allocations: 35.83 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.004111, allocations: 99.59 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004216, allocations: 30.22 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.004324, allocations: 75.86 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.004392, allocations: 27.91 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.004415, allocations: 11.94 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.004429, allocations: 8 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.004453, allocations: 15.94 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.004487, allocations: 23.94 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.004619, allocations: 63.77 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.004635, allocations: 4 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004636, allocations: 0 / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.004649, allocations: 3.938 kB / 247.4 MB, free: 11.43 MB / 250.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.0004035/0.005052, allocations: 328.4 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005085, allocations: 12.03 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.005118, allocations: 12.92 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.005278, allocations: 125.7 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005293, allocations: 8.562 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.00532, allocations: 16.31 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.005484, allocations: 115.7 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.005495, allocations: 0 / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005505, allocations: 4 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.005511, allocations: 4 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.00556, allocations: 22.73 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.006005, allocations: 380.9 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.006102, allocations: 50.48 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.006122, allocations: 20.86 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.00613, allocations: 0 / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.006157, allocations: 38.5 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.006159, allocations: 0 / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001343/0.006293, allocations: 65.75 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.00632, allocations: 55.41 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.006386, allocations: 130 kB / 248.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006397, allocations: 29.7 kB / 248.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.006442, allocations: 112.1 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.006462, allocations: 31.73 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.006493, allocations: 29.7 kB / 248.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.006575, allocations: 318.8 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.006593, allocations: 8 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.006623, allocations: 43.91 kB / 249.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.006679, allocations: 60.2 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.006682, allocations: 4 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.811e-05/0.006771, allocations: 89.5 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006784, allocations: 7.938 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.006791, allocations: 4 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.006799, allocations: 0 / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.006961, allocations: 39.97 kB / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.006964, allocations: 0 / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.006994, allocations: 15.89 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.006997, allocations: 0 / 249.5 MB, free: 9.094 MB / 250.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.452e-05/0.007052, allocations: 117.8 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.00707, allocations: 16.02 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.007108, allocations: 16.44 kB / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.00711, allocations: 0 / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007112, allocations: 0 / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.007115, allocations: 0 / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.007216, allocations: 85.86 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007218, allocations: 0 / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.007309, allocations: 23.98 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.00732, allocations: 7.891 kB / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.007323, allocations: 11.92 kB / 249.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.007334, allocations: 4 kB / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007335, allocations: 4 kB / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007336, allocations: 0 / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.007472, allocations: 167.8 kB / 250 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.007485, allocations: 7.938 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.007523, allocations: 3.984 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.007547, allocations: 4 kB / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.00755, allocations: 0 / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.00757, allocations: 28.78 kB / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00757, allocations: 0 / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000125/0.007695, allocations: 19.95 kB / 250 MB, free: 8.539 MB / 250.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 7.738e-05/0.007773, allocations: 84.41 kB / 250.1 MB, free: 8.449 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.731e-05/0.00786, allocations: 48.77 kB / 250.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.007867, allocations: 0 / 250.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.007894, allocations: 20.8 kB / 250.2 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.00808, allocations: 23.98 kB / 250.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.009358, allocations: 269.1 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.009392, allocations: 67.28 kB / 250.5 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.009429, allocations: 12.52 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.009492, allocations: 67.36 kB / 250.6 MB, free: 7.891 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009493, allocations: 4 kB / 250.6 MB, free: 7.887 MB / 250.7 MB Notification: Performance of Templates: time 0.002809/0.0123, allocations: 1.204 MB / 251.8 MB, free: 6.715 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6004442796111107]