Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009953, allocations: 187 kB / 17.92 MB, free: 3.855 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.139/1.139, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0008602/0.0008602, allocations: 106 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007735/0.0007737, allocations: 47.92 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1887, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002799/0.1915, allocations: 2.388 MB / 376.2 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.1922, allocations: 0.6237 MB / 376.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1923, allocations: 8.531 kB / 376.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1924, allocations: 27.38 kB / 376.9 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1926, allocations: 68.45 kB / 376.9 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.1927, allocations: 41.7 kB / 377 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1929, allocations: 261.7 kB / 377.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1931, allocations: 96.53 kB / 377.3 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1932, allocations: 95.66 kB / 377.4 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1933, allocations: 113.1 kB / 377.5 MB, free: 43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.1934, allocations: 14.84 kB / 377.5 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.943e-05/0.1934, allocations: 16.03 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.1935, allocations: 41.09 kB / 377.6 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.1936, allocations: 116.7 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1937, allocations: 252.6 kB / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1937, allocations: 0 / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1938, allocations: 0 / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1938, allocations: 0 / 378 MB, free: 42.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005599/0.1943, allocations: 0.5242 MB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1944, allocations: 8.594 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.1944, allocations: 34.09 kB / 378.5 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1946, allocations: 238.9 kB / 378.8 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1946, allocations: 17.78 kB / 378.8 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1947, allocations: 22.75 kB / 378.8 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.195, allocations: 195 kB / 379 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.195, allocations: 5.312 kB / 379 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.195, allocations: 10.69 kB / 379 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.195, allocations: 5.125 kB / 379 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.1953, allocations: 140.3 kB / 379.1 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.196, allocations: 0.6325 MB / 379.8 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1962, allocations: 178.2 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1964, allocations: 103.9 kB / 380 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1964, allocations: 2.719 kB / 380.1 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.1964, allocations: 36.16 kB / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.1964, allocations: 0 / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001474/0.1979, allocations: 1.069 MB / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.198, allocations: 63 kB / 381.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1981, allocations: 193 kB / 381.4 MB, free: 39.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1981, allocations: 31.27 kB / 381.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.1982, allocations: 141.9 kB / 381.6 MB, free: 39.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.1982, allocations: 111.5 kB / 381.7 MB, free: 39.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1983, allocations: 56.67 kB / 381.7 MB, free: 39.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.1983, allocations: 335.7 kB / 382.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1984, allocations: 66.53 kB / 382.1 MB, free: 39.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1986, allocations: 114 kB / 382.2 MB, free: 39.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.1988, allocations: 195.1 kB / 382.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1988, allocations: 1.094 kB / 382.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003977/0.1993, allocations: 289.9 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1993, allocations: 4.625 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1993, allocations: 0.8438 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.1994, allocations: 43.08 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1997, allocations: 61.19 kB / 382.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008943/0.2006, allocations: 1.56 MB / 384.4 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2007, allocations: 12.06 kB / 384.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2007, allocations: 6.562 kB / 384.4 MB, free: 37.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.2008, allocations: 145.3 kB / 384.5 MB, free: 37.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2008, allocations: 22.09 kB / 384.6 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.2009, allocations: 34.62 kB / 384.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2009, allocations: 2.906 kB / 384.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2009, allocations: 5.344 kB / 384.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2009, allocations: 3.984 kB / 384.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.2018, allocations: 0.7776 MB / 385.4 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2018, allocations: 0.9375 kB / 385.4 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.202, allocations: 65.75 kB / 385.5 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-05/0.2021, allocations: 38.42 kB / 385.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2022, allocations: 10.27 kB / 385.5 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006612/0.2028, allocations: 1.374 MB / 386.9 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2028, allocations: 1.094 kB / 386.9 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.2056, allocations: 3.471 MB / 390.3 MB, free: 31.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.2056, allocations: 92.95 kB / 390.4 MB, free: 31.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.2056, allocations: 9.344 kB / 390.4 MB, free: 31.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2058, allocations: 12.53 kB / 390.5 MB, free: 31.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2058, allocations: 21.53 kB / 390.5 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2058, allocations: 12.06 kB / 390.5 MB, free: 31.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.2059, allocations: 139.5 kB / 390.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2059, allocations: 0 / 390.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000398/0.2063, allocations: 88 kB / 390.7 MB, free: 31.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.806e-05/0.2064, allocations: 107.2 kB / 390.8 MB, free: 31.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.2068, allocations: 334.5 kB / 391.1 MB, free: 31.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2069, allocations: 0 / 391.1 MB, free: 31.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.2071, allocations: 242.8 kB / 391.4 MB, free: 30.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2075, allocations: 47.91 kB / 391.4 MB, free: 30.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2086, allocations: 1.184 MB / 392.6 MB, free: 29.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2087, allocations: 0.7642 MB / 393.4 MB, free: 28.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.2088, allocations: 26.27 kB / 393.4 MB, free: 28.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.2089, allocations: 23.44 kB / 393.4 MB, free: 28.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2089, allocations: 0 / 393.4 MB, free: 28.77 MB / 298.7 MB Notification: Performance of Templates: time 0.004691/0.2136, allocations: 3.07 MB / 396.5 MB, free: 25.72 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches