Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000991/0.0009911, allocations: 187 kB / 17.91 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.184/1.184, 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.0008725/0.0008725, allocations: 101.1 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008443/0.0008445, allocations: 47.92 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1801, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002431/0.1825, allocations: 1.822 MB / 375.6 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.1834, allocations: 0.6811 MB / 376.3 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.1835, allocations: 6.25 kB / 376.3 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.1837, allocations: 10.05 kB / 376.3 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.1837, allocations: 27.33 kB / 376.4 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.1839, allocations: 43.7 kB / 376.4 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.184, allocations: 121.7 kB / 376.5 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.1841, allocations: 18.98 kB / 376.5 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.1841, allocations: 39.11 kB / 376.6 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1842, allocations: 44.28 kB / 376.6 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1842, allocations: 8.062 kB / 376.6 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.1843, allocations: 23.11 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1843, allocations: 16.05 kB / 376.7 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.1844, allocations: 47.05 kB / 376.7 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1845, allocations: 125.1 kB / 376.8 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1845, allocations: 0 / 376.8 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1846, allocations: 4 kB / 376.8 MB, free: 43.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1846, allocations: 0 / 376.8 MB, free: 43.51 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004259/0.185, allocations: 411.7 kB / 377.2 MB, free: 43.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.185, allocations: 9.875 kB / 377.3 MB, free: 43.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.1852, allocations: 23.42 kB / 377.3 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1853, allocations: 193 kB / 377.5 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1854, allocations: 7.906 kB / 377.5 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1854, allocations: 15.16 kB / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1855, allocations: 90.97 kB / 377.6 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1856, allocations: 5.109 kB / 377.6 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1856, allocations: 5.156 kB / 377.6 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1856, allocations: 2.562 kB / 377.6 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1857, allocations: 54.38 kB / 377.6 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.1862, allocations: 492.9 kB / 378.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1864, allocations: 80.94 kB / 378.2 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.1865, allocations: 32.39 kB / 378.2 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1865, allocations: 5.125 kB / 378.2 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.093e-05/0.1865, allocations: 35.72 kB / 378.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1865, allocations: 0 / 378.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001849/0.1867, allocations: 95.92 kB / 378.4 MB, free: 42.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.1867, allocations: 56.53 kB / 378.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.1868, allocations: 128 kB / 378.5 MB, free: 41.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.1868, allocations: 30.92 kB / 378.6 MB, free: 41.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1869, allocations: 105 kB / 378.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1869, allocations: 35.7 kB / 378.7 MB, free: 41.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1869, allocations: 28.72 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.187, allocations: 321.1 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.187, allocations: 20.09 kB / 379.1 MB, free: 41.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.1871, allocations: 47.14 kB / 379.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.322e-05/0.1871, allocations: 83.98 kB / 379.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1871, allocations: 0 / 379.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.1873, allocations: 111.2 kB / 379.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1873, allocations: 6.344 kB / 379.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1873, allocations: 1.344 kB / 379.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1874, allocations: 1.25 kB / 379.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1875, allocations: 23.7 kB / 379.3 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1875, allocations: 10.03 kB / 379.4 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.1875, allocations: 7.906 kB / 379.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1875, allocations: 3.656 kB / 379.4 MB, free: 41.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.244e-05/0.1876, allocations: 117.8 kB / 379.5 MB, free: 41.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1876, allocations: 12.05 kB / 379.5 MB, free: 41.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.1877, allocations: 13.75 kB / 379.5 MB, free: 41.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1877, allocations: 1.344 kB / 379.5 MB, free: 41.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1877, allocations: 3.938 kB / 379.5 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1877, allocations: 1.375 kB / 379.5 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1878, allocations: 201.2 kB / 379.7 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1879, allocations: 5.188 kB / 379.7 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.188, allocations: 16.75 kB / 379.7 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.188, allocations: 4.969 kB / 379.7 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.188, allocations: 9.859 kB / 379.7 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.188, allocations: 96 / 379.7 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.188, allocations: 7.875 kB / 379.8 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.1895, allocations: 1.387 MB / 381.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1895, allocations: 87.27 kB / 381.2 MB, free: 39.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1895, allocations: 0.9062 kB / 381.2 MB, free: 39.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1896, allocations: 5.031 kB / 381.2 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.1896, allocations: 6.406 kB / 381.2 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1896, allocations: 2.375 kB / 381.2 MB, free: 39.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.1896, allocations: 92.11 kB / 381.3 MB, free: 39.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1897, allocations: 1.094 kB / 381.3 MB, free: 39.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.19, allocations: 39.47 kB / 381.4 MB, free: 39.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * Single equations (assignments): 8 * 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 6.467e-05/0.19, allocations: 96.09 kB / 381.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1902, allocations: 60.42 kB / 381.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1902, allocations: 0 / 381.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.928e-05/0.1902, allocations: 32.77 kB / 381.6 MB, free: 39.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1905, allocations: 18.95 kB / 381.6 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.1911, allocations: 0.5796 MB / 382.2 MB, free: 38.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1913, allocations: 0.7003 MB / 382.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.283e-05/0.1913, allocations: 16.97 kB / 382.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1914, allocations: 12.09 kB / 382.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1914, allocations: 0 / 382.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of Templates: time 0.002804/0.1942, allocations: 1.291 MB / 384.2 MB, free: 37.29 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches