Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008617/0.0008618, allocations: 181.2 kB / 16.71 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007622/0.0007619, allocations: 93.34 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002306, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1782, allocations: 50.42 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00127/0.1796, allocations: 1.441 MB / 406 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00066/0.1802, allocations: 0.7575 MB / 406.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.1803, allocations: 4 kB / 406.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.535e-05/0.1804, allocations: 9.672 kB / 406.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.1805, allocations: 35.7 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1806, allocations: 41.06 kB / 406.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1807, allocations: 115.4 kB / 407 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.1808, allocations: 19.98 kB / 407 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.1809, allocations: 44.33 kB / 407 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.181, allocations: 48.64 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.181, allocations: 4 kB / 407.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.1811, allocations: 21.11 kB / 407.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1811, allocations: 15.94 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1811, allocations: 69.5 kB / 407.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1813, allocations: 118.5 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1813, allocations: 0 / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1813, allocations: 0 / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1813, allocations: 0 / 407.3 MB, free: 28.52 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.0003666/0.1817, allocations: 392.7 kB / 407.7 MB, free: 28.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1817, allocations: 9.281 kB / 407.7 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1819, allocations: 28.73 kB / 407.7 MB, free: 28.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.182, allocations: 193.8 kB / 407.9 MB, free: 27.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.182, allocations: 12.5 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1821, allocations: 8.375 kB / 407.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1822, allocations: 94.72 kB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1822, allocations: 4 kB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1822, allocations: 4 kB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1823, allocations: 4 kB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1824, allocations: 55.91 kB / 408.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.1829, allocations: 497.1 kB / 408.6 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1831, allocations: 82.62 kB / 408.7 MB, free: 27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.1831, allocations: 20.86 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1832, allocations: 4 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.086e-05/0.1832, allocations: 34.56 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1832, allocations: 0 / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001701/0.1834, allocations: 97.61 kB / 408.8 MB, free: 26.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.1834, allocations: 59.34 kB / 408.9 MB, free: 26.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.1834, allocations: 117.8 kB / 409 MB, free: 26.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1835, allocations: 33.64 kB / 409 MB, free: 26.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.1835, allocations: 107.8 kB / 409.1 MB, free: 26.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1835, allocations: 39.69 kB / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.1835, allocations: 0 / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.1836, allocations: 318.8 kB / 409.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.1836, allocations: 24 kB / 409.5 MB, free: 26.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.1837, allocations: 51.41 kB / 409.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.1837, allocations: 79.36 kB / 409.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1837, allocations: 0 / 409.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001254/0.1839, allocations: 109.5 kB / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1839, allocations: 8 kB / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1839, allocations: 0 / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1839, allocations: 0 / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.184, allocations: 39.92 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.184, allocations: 3.938 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.1841, allocations: 4 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1841, allocations: 7.938 kB / 409.8 MB, free: 25.78 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.2e-05/0.1842, allocations: 125.9 kB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1842, allocations: 11.89 kB / 409.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.1842, allocations: 8.375 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1842, allocations: 4 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1842, allocations: 3.938 kB / 409.9 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1843, allocations: 0 / 409.9 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1844, allocations: 201.6 kB / 410.1 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1844, allocations: 0 / 410.1 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1845, allocations: 19.94 kB / 410.2 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1845, allocations: 4.094 kB / 410.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1845, allocations: 11.92 kB / 410.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1846, allocations: 0 / 410.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1846, allocations: 3.938 kB / 410.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1847, allocations: 203.4 kB / 410.4 MB, free: 25.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.1847, allocations: 85.02 kB / 410.5 MB, free: 25.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1848, allocations: 0 / 410.5 MB, free: 25.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.1848, allocations: 4 kB / 410.5 MB, free: 25.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.1849, allocations: 11.94 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1849, allocations: 8.031 kB / 410.5 MB, free: 24.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.1849, allocations: 87.28 kB / 410.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1849, allocations: 0 / 410.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.1851, allocations: 27.84 kB / 410.6 MB, free: 24.88 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.092e-05/0.1852, allocations: 111.6 kB / 410.7 MB, free: 24.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1853, allocations: 59.91 kB / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1853, allocations: 192 / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.1853, allocations: 28 kB / 410.8 MB, free: 24.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.1856, allocations: 12.67 kB / 410.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1862, allocations: 0.536 MB / 411.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.1863, allocations: 0.7043 MB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.1863, allocations: 8.438 kB / 412.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.1864, allocations: 11.44 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1864, allocations: 0 / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of Templates: time 0.00228/0.1886, allocations: 0.8643 MB / 412.9 MB, free: 22.49 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches