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.001476/0.001476, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001053/0.001052, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.555e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09591, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4974, allocations: 77.49 MB / 446.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4977, allocations: 68.53 kB / 446.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5146, allocations: 3.793 MB / 450.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5146, allocations: 0 / 450.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.5147, allocations: 4 kB / 450.4 MB, free: 12.51 MB / 330.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.0008293/0.5155, allocations: 470.5 kB / 450.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5156, allocations: 8.797 kB / 450.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.5157, allocations: 23.72 kB / 450.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.516, allocations: 221.3 kB / 451.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.5161, allocations: 15 kB / 451.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.5161, allocations: 30.61 kB / 451.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.5166, allocations: 203.2 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.5167, allocations: 4 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.5167, allocations: 9.062 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5167, allocations: 4 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.5171, allocations: 114.1 kB / 451.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.5185, allocations: 0.7125 MB / 452.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.5188, allocations: 132.1 kB / 452.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.519, allocations: 63.8 kB / 452.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.5191, allocations: 7.984 kB / 452.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.5191, allocations: 34.56 kB / 452.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.826e-06/0.5191, allocations: 0 / 452.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001929/0.5211, allocations: 0.8074 MB / 453.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.5212, allocations: 55.41 kB / 453.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.5214, allocations: 160.4 kB / 453.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.5214, allocations: 33.58 kB / 453.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5215, allocations: 198.1 kB / 453.7 MB, free: 9.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.5216, allocations: 93.81 kB / 453.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.5217, allocations: 3.938 kB / 453.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5218, allocations: 322.6 kB / 454.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5219, allocations: 47.19 kB / 454.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.5221, allocations: 95.36 kB / 454.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.5223, allocations: 68.3 kB / 454.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5223, allocations: 7.938 kB / 454.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006105/0.523, allocations: 228.2 kB / 454.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.523, allocations: 4 kB / 454.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.523, allocations: 7.938 kB / 454.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.5233, allocations: 32.16 kB / 454.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.5237, allocations: 47.97 kB / 454.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.5253, allocations: 1.383 MB / 456 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.5256, allocations: 7.781 kB / 456 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.5256, allocations: 15.88 kB / 456 MB, free: 7.109 MB / 330.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 () * 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.0001205/0.5257, allocations: 128.4 kB / 456.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.5258, allocations: 15.81 kB / 456.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.5259, allocations: 25.34 kB / 456.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5259, allocations: 4 kB / 456.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5259, allocations: 0 / 456.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5259, allocations: 7.938 kB / 456.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5272, allocations: 0.6366 MB / 456.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5273, allocations: 0 / 456.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.5277, allocations: 39.98 kB / 456.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.5279, allocations: 40.7 kB / 456.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.528, allocations: 3.812 kB / 456.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.5295, allocations: 1.379 MB / 458.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5295, allocations: 0 / 458.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.5303, allocations: 413.7 kB / 458.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.5304, allocations: 92.98 kB / 458.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.5305, allocations: 7.875 kB / 458.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.5307, allocations: 11.91 kB / 458.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.5308, allocations: 19.61 kB / 458.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5309, allocations: 4 kB / 458.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.531, allocations: 132.1 kB / 459 MB, free: 4.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.531, allocations: 0 / 459 MB, free: 4.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.5315, allocations: 59.69 kB / 459 MB, free: 4.16 MB / 330.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 () * 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.0001736/0.5317, allocations: 107 kB / 459.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.5324, allocations: 279.9 kB / 459.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5325, allocations: 0 / 459.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.5329, allocations: 203.2 kB / 459.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.5334, allocations: 50.25 kB / 459.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.5349, allocations: 0.5733 MB / 460.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5353, allocations: 0.7522 MB / 461 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.5354, allocations: 19.44 kB / 461 MB, free: 2.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5354, allocations: 0 / 461 MB, free: 2.207 MB / 330.7 MB Notification: Performance of Templates: time 0.008472/0.5439, allocations: 3.326 MB / 464.3 MB, free: 14.91 MB / 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