Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001232/0.001232, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002127/0.003359, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001122/0.001122, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002634, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9543/0.9543, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08857/1.043, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.105e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002074/0.002095, allocations: 1.971 MB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.002732, allocations: 498.4 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.002808, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.002869, allocations: 23.78 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.002926, allocations: 15.8 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.13e-05/0.003017, allocations: 23.97 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.003165, allocations: 111.6 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003267, allocations: 30.17 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.003391, allocations: 75.81 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.00346, allocations: 27.91 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.00348, allocations: 12 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.003493, allocations: 8 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003513, allocations: 11.94 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.003549, allocations: 27.94 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003688, allocations: 63.75 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.003699, allocations: 0 / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0037, allocations: 0 / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.003709, allocations: 0 / 248.1 MB, free: 10.65 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.0004538/0.004162, allocations: 336.4 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004195, allocations: 8.625 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.004238, allocations: 20.88 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.004403, allocations: 133.5 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.004416, allocations: 8.562 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.004442, allocations: 4.375 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.004618, allocations: 116.7 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.004629, allocations: 0 / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.004642, allocations: 8 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004648, allocations: 4 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.004699, allocations: 19.98 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.005157, allocations: 385 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.005248, allocations: 42.5 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.00528, allocations: 16.86 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.005289, allocations: 4.156 kB / 249.1 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.005315, allocations: 38.48 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.005316, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001432/0.005459, allocations: 65.66 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005488, allocations: 55.41 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.005556, allocations: 129.8 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.005568, allocations: 29.69 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.005621, allocations: 112.1 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.005641, allocations: 27.69 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.005672, allocations: 33.69 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.005739, allocations: 318.8 kB / 249.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.005756, allocations: 15.98 kB / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.005783, allocations: 40.28 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.005848, allocations: 64.2 kB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00585, allocations: 0 / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.896e-05/0.005929, allocations: 77.55 kB / 250.1 MB, free: 8.375 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.005944, allocations: 11.92 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.00595, allocations: 4 kB / 250.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005961, allocations: 0 / 250.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.006146, allocations: 43.98 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.006152, allocations: 4 kB / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.006211, allocations: 23.86 kB / 250.2 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.006218, allocations: 4 kB / 250.2 MB, free: 8.285 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 6.238e-05/0.006281, allocations: 109.8 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.006308, allocations: 7.938 kB / 250.3 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.006336, allocations: 16.42 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.006337, allocations: 0 / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006339, allocations: 3.938 kB / 250.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006342, allocations: 4 kB / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.006463, allocations: 85.86 kB / 250.4 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006464, allocations: 0 / 250.4 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.006576, allocations: 27.98 kB / 250.5 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.00659, allocations: 11.89 kB / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006592, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.006603, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006604, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006605, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.006756, allocations: 167.5 kB / 250.6 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.006772, allocations: 11.88 kB / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.006837, allocations: 4 kB / 250.7 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.006867, allocations: 7.984 kB / 250.7 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.006871, allocations: 0 / 250.7 MB, free: 7.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.006895, allocations: 24.78 kB / 250.7 MB, free: 7.766 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006895, allocations: 0 / 250.7 MB, free: 7.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007058, allocations: 23.95 kB / 250.7 MB, free: 7.742 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 8.495e-05/0.007143, allocations: 80.41 kB / 250.8 MB, free: 7.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.007241, allocations: 49 kB / 250.8 MB, free: 7.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.007248, allocations: 0 / 250.8 MB, free: 7.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.007286, allocations: 28.84 kB / 250.9 MB, free: 7.574 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.007582, allocations: 220.2 kB / 251.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.008927, allocations: 272.9 kB / 251.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.008959, allocations: 63.34 kB / 251.4 MB, free: 6.938 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.008986, allocations: 8.484 kB / 251.4 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.009051, allocations: 63.38 kB / 251.5 MB, free: 6.867 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009052, allocations: 0 / 251.5 MB, free: 6.867 MB / 250.7 MB Notification: Performance of Templates: time 0.002513/0.01156, allocations: 1.197 MB / 252.7 MB, free: 5.699 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3794844187796116]