Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008514/0.0008513, allocations: 179.7 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.183/1.183, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007659/0.0007659, allocations: 92.62 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 4 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1814, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.001966/0.1834, allocations: 2.37 MB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.1842, allocations: 0.6857 MB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1843, allocations: 8 kB / 407.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.514e-05/0.1844, allocations: 51.53 kB / 407.7 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1846, allocations: 75.38 kB / 407.8 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1849, allocations: 107.8 kB / 407.9 MB, free: 28.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1852, allocations: 427.6 kB / 408.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1854, allocations: 181.2 kB / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1856, allocations: 151.4 kB / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1857, allocations: 167.2 kB / 408.8 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.1858, allocations: 28 kB / 408.8 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.347e-05/0.1858, allocations: 24 kB / 408.8 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1859, allocations: 75.67 kB / 408.9 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.186, allocations: 212.8 kB / 409.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1862, allocations: 467.7 kB / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1863, allocations: 0 / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1863, allocations: 0 / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1863, allocations: 0 / 409.6 MB, free: 26.32 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0007115/0.187, allocations: 0.6163 MB / 410.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.187, allocations: 12.03 kB / 410.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.1871, allocations: 48.36 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1873, allocations: 276.3 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1873, allocations: 41.36 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1874, allocations: 40.38 kB / 410.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.1879, allocations: 447.6 kB / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.188, allocations: 4 kB / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.188, allocations: 20 kB / 411 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.188, allocations: 12 kB / 411.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.1884, allocations: 287.8 kB / 411.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1898, allocations: 1.322 MB / 412.7 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.1901, allocations: 244 kB / 412.9 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.1904, allocations: 196.8 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1905, allocations: 4 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1905, allocations: 38.56 kB / 413.1 MB, free: 22.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.1905, allocations: 0 / 413.1 MB, free: 22.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.00114/0.1916, allocations: 0.557 MB / 413.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1917, allocations: 235.3 kB / 413.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1918, allocations: 211 kB / 414.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1919, allocations: 29.7 kB / 414.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.1919, allocations: 200.2 kB / 414.3 MB, free: 21.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.192, allocations: 110.4 kB / 414.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.192, allocations: 4 kB / 414.5 MB, free: 21.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.192, allocations: 338.8 kB / 414.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1922, allocations: 79.91 kB / 414.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1923, allocations: 153 kB / 415 MB, free: 20.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1926, allocations: 200.6 kB / 415.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1926, allocations: 4 kB / 415.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003422/0.193, allocations: 280.9 kB / 415.5 MB, free: 20 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.193, allocations: 12 kB / 415.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.193, allocations: 4 kB / 415.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.193, allocations: 0 / 415.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.1933, allocations: 79.89 kB / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1933, allocations: 0 / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1935, allocations: 35.69 kB / 415.6 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1935, allocations: 11.98 kB / 415.6 MB, free: 19.86 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 (38): * Single equations (assignments): 38 * 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 9.668e-05/0.1936, allocations: 153.7 kB / 415.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1937, allocations: 27.75 kB / 415.8 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.1937, allocations: 30.66 kB / 415.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1937, allocations: 4 kB / 415.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1937, allocations: 7.984 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1938, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.1945, allocations: 0.7659 MB / 416.6 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1945, allocations: 8.031 kB / 416.6 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1948, allocations: 51.95 kB / 416.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.195, allocations: 84.81 kB / 416.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1951, allocations: 8 kB / 416.8 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.1963, allocations: 1.827 MB / 418.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1963, allocations: 3.984 kB / 418.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.1969, allocations: 0.5034 MB / 419.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.197, allocations: 104.7 kB / 419.2 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.197, allocations: 12.06 kB / 419.2 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1972, allocations: 20 kB / 419.2 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1972, allocations: 15.97 kB / 419.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1973, allocations: 15.98 kB / 419.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.049e-05/0.1973, allocations: 148.5 kB / 419.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1974, allocations: 0 / 419.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.1977, allocations: 111.6 kB / 419.5 MB, free: 15.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.232e-05/0.1978, allocations: 112.5 kB / 419.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.1981, allocations: 219.6 kB / 419.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1981, allocations: 4 kB / 419.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1984, allocations: 274.4 kB / 420.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1988, allocations: 36.11 kB / 420.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.1997, allocations: 1.086 MB / 421.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.1999, allocations: 0.7872 MB / 422 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.2, allocations: 29.92 kB / 422.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.2, allocations: 19.44 kB / 422.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2, allocations: 0 / 422.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Templates: time 0.004944/0.205, allocations: 2.886 MB / 425 MB, free: 10.21 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches