Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 200.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007415/0.0007416, allocations: 104.9 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.0002192, allocations: 7.984 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1807, allocations: 51.42 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.001866/0.1826, allocations: 2.374 MB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.1835, allocations: 0.9595 MB / 415.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.1836, allocations: 8.469 kB / 415.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.1837, allocations: 47.67 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1838, allocations: 81.55 kB / 415.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1841, allocations: 110.9 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1844, allocations: 422.8 kB / 416 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.1846, allocations: 194 kB / 416.2 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1848, allocations: 147.4 kB / 416.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.185, allocations: 175.2 kB / 416.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.185, allocations: 24 kB / 416.6 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.1851, allocations: 32 kB / 416.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.1851, allocations: 71.69 kB / 416.7 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1853, allocations: 220.7 kB / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1856, allocations: 475.7 kB / 417.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1856, allocations: 0 / 417.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1856, allocations: 0 / 417.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1856, allocations: 8 kB / 417.3 MB, free: 20.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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0007525/0.1864, allocations: 0.6125 MB / 418 MB, free: 19.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1864, allocations: 12.03 kB / 418 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.1866, allocations: 60.36 kB / 418 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1868, allocations: 284.3 kB / 418.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1869, allocations: 33.38 kB / 418.3 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.1869, allocations: 44.38 kB / 418.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.1875, allocations: 451.6 kB / 418.8 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1875, allocations: 4 kB / 418.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1875, allocations: 19.98 kB / 418.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1875, allocations: 8 kB / 418.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.188, allocations: 279.9 kB / 419.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1893, allocations: 1.322 MB / 420.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1897, allocations: 238.7 kB / 420.7 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.19, allocations: 191.4 kB / 420.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.19, allocations: 4 kB / 420.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.19, allocations: 50.5 kB / 420.9 MB, free: 16.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.19, allocations: 0 / 420.9 MB, free: 16.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001132/0.1912, allocations: 0.5528 MB / 421.5 MB, free: 16.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1912, allocations: 235.3 kB / 421.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1914, allocations: 206.9 kB / 421.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1914, allocations: 37.7 kB / 421.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1915, allocations: 204.2 kB / 422.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1915, allocations: 106.5 kB / 422.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1915, allocations: 4 kB / 422.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.1916, allocations: 338.8 kB / 422.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1917, allocations: 79.72 kB / 422.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1919, allocations: 160.9 kB / 422.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1922, allocations: 204 kB / 423 MB, free: 14.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1922, allocations: 4 kB / 423 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003552/0.1925, allocations: 277.1 kB / 423.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1926, allocations: 4 kB / 423.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1926, allocations: 0 / 423.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1926, allocations: 4 kB / 423.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1929, allocations: 79.89 kB / 423.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1929, allocations: 0 / 423.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1931, allocations: 43.73 kB / 423.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1931, allocations: 8 kB / 423.4 MB, free: 14.05 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.613e-05/0.1932, allocations: 153.7 kB / 423.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.1932, allocations: 23.75 kB / 423.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.1933, allocations: 34.64 kB / 423.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1933, allocations: 4 kB / 423.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1933, allocations: 4 kB / 423.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1933, allocations: 0 / 423.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.1941, allocations: 0.7699 MB / 424.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1941, allocations: 4 kB / 424.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.1944, allocations: 51.91 kB / 424.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.1946, allocations: 100.7 kB / 424.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1947, allocations: 8 kB / 424.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.1959, allocations: 1.82 MB / 426.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1959, allocations: 0 / 426.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.1965, allocations: 0.5051 MB / 426.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1966, allocations: 108.8 kB / 427 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1966, allocations: 8 kB / 427 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1968, allocations: 12 kB / 427 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1968, allocations: 24.08 kB / 427.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1969, allocations: 12 kB / 427.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.1969, allocations: 148.4 kB / 427.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1969, allocations: 0 / 427.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.1972, allocations: 115.5 kB / 427.3 MB, free: 9.91 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 8.445e-05/0.1973, allocations: 111.2 kB / 427.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1977, allocations: 209.1 kB / 427.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1977, allocations: 3.938 kB / 427.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.198, allocations: 282.6 kB / 427.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1983, allocations: 31.92 kB / 427.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.1993, allocations: 1.09 MB / 429 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.1995, allocations: 0.7911 MB / 429.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.451e-05/0.1995, allocations: 21.94 kB / 429.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.1996, allocations: 27.42 kB / 429.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1996, allocations: 0 / 429.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of Templates: time 0.004941/0.2046, allocations: 2.878 MB / 432.8 MB, free: 4.406 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches