Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 187.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 97.47 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.332, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4556, allocations: 77.59 MB / 452.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.456, allocations: 67.97 kB / 452.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.4733, allocations: 3.799 MB / 456 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4734, allocations: 4 kB / 456 MB, free: 15.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.4734, allocations: 4 kB / 456 MB, free: 15.29 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009926/0.4744, allocations: 478.9 kB / 456.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.4745, allocations: 16.03 kB / 456.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.4746, allocations: 23.72 kB / 456.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.475, allocations: 227.4 kB / 456.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.475, allocations: 20.42 kB / 456.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.4751, allocations: 27.86 kB / 456.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.4757, allocations: 209.8 kB / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4758, allocations: 0 / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.4758, allocations: 12 kB / 457 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4758, allocations: 8 kB / 457 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.4763, allocations: 125.7 kB / 457.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4779, allocations: 0.7093 MB / 457.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.4784, allocations: 142.5 kB / 458 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4785, allocations: 4.219 kB / 458 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.4785, allocations: 38.56 kB / 458 MB, free: 13.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.035e-06/0.4785, allocations: 3.938 kB / 458 MB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.002484/0.481, allocations: 0.9026 MB / 458.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4811, allocations: 51.41 kB / 459 MB, free: 12.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.4814, allocations: 154.9 kB / 459.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4814, allocations: 29.7 kB / 459.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4815, allocations: 198.7 kB / 459.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.4816, allocations: 90.75 kB / 459.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.4817, allocations: 4 kB / 459.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4818, allocations: 330.8 kB / 459.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.4821, allocations: 55.97 kB / 459.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4823, allocations: 97.7 kB / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.4826, allocations: 81.41 kB / 460 MB, free: 10.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4826, allocations: 0 / 460 MB, free: 10.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007598/0.4834, allocations: 258 kB / 460.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4834, allocations: 4 kB / 460.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.4834, allocations: 0 / 460.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.4837, allocations: 36.83 kB / 460.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.4841, allocations: 43.98 kB / 460.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4859, allocations: 1.398 MB / 461.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.4862, allocations: 12.02 kB / 461.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.4863, allocations: 12 kB / 461.7 MB, free: 9.086 MB / 346.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.4865, allocations: 133.9 kB / 461.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.4866, allocations: 19.81 kB / 461.9 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.4867, allocations: 21.86 kB / 461.9 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4867, allocations: 4 kB / 461.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4867, allocations: 4 kB / 461.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.4867, allocations: 4.234 kB / 461.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.4882, allocations: 0.6642 MB / 462.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4883, allocations: 0 / 462.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.4887, allocations: 47.97 kB / 462.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.4889, allocations: 36.84 kB / 462.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.489, allocations: 11.98 kB / 462.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.4907, allocations: 1.386 MB / 464.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.4907, allocations: 7.969 kB / 464.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.4917, allocations: 429.7 kB / 464.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4919, allocations: 92.92 kB / 464.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.4919, allocations: 4 kB / 464.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.4921, allocations: 12.03 kB / 464.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.4922, allocations: 19.98 kB / 464.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4923, allocations: 4 kB / 464.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4924, allocations: 132.8 kB / 464.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4924, allocations: 0 / 464.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005148/0.493, allocations: 60 kB / 464.8 MB, free: 5.738 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.4932, allocations: 103.2 kB / 464.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008605/0.494, allocations: 307 kB / 465.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4941, allocations: 0 / 465.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.4946, allocations: 210.5 kB / 465.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.4951, allocations: 44.42 kB / 465.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4971, allocations: 0.8481 MB / 466.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.4975, allocations: 0.7485 MB / 467.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4976, allocations: 23.42 kB / 467.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4976, allocations: 0 / 467.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of Templates: time 0.008173/0.5058, allocations: 3.301 MB / 470.4 MB, free: 76 kB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches