Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009524, allocations: 107.3 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009023/0.0009024, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1875, allocations: 50.46 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002821/0.1904, allocations: 2.889 MB / 409.9 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.1913, allocations: 0.7453 MB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.1914, allocations: 8 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.1915, allocations: 53.39 kB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1917, allocations: 71.38 kB / 410.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1919, allocations: 110.5 kB / 410.9 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1922, allocations: 430.8 kB / 411.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.1925, allocations: 190 kB / 411.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1926, allocations: 179.4 kB / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1928, allocations: 199.1 kB / 411.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1929, allocations: 35.98 kB / 411.9 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.1929, allocations: 40 kB / 412 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.193, allocations: 87.69 kB / 412 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1931, allocations: 203 kB / 412.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1934, allocations: 499.8 kB / 412.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1935, allocations: 4 kB / 412.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1935, allocations: 3.938 kB / 412.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1935, allocations: 0 / 412.7 MB, free: 22.08 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.0008313/0.1943, allocations: 0.6865 MB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1943, allocations: 12.88 kB / 413.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.1946, allocations: 52.45 kB / 413.5 MB, free: 21.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1948, allocations: 284.3 kB / 413.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1948, allocations: 33.38 kB / 413.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.1949, allocations: 40.38 kB / 413.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1954, allocations: 455.6 kB / 414.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1954, allocations: 0 / 414.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1954, allocations: 20 kB / 414.3 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1954, allocations: 15.98 kB / 414.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.1959, allocations: 279.9 kB / 414.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1973, allocations: 1.314 MB / 415.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1976, allocations: 243.2 kB / 416.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1979, allocations: 198.3 kB / 416.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.198, allocations: 0 / 416.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.198, allocations: 50.5 kB / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.212e-06/0.198, allocations: 0 / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.00115/0.1991, allocations: 0.5423 MB / 416.9 MB, free: 17.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1992, allocations: 235.3 kB / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1993, allocations: 207 kB / 417.4 MB, free: 17.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1994, allocations: 29.7 kB / 417.4 MB, free: 17.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1994, allocations: 200.2 kB / 417.6 MB, free: 16.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1995, allocations: 110.4 kB / 417.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.1996, allocations: 57.7 kB / 417.8 MB, free: 16.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.1996, allocations: 338.8 kB / 418.1 MB, free: 16.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1997, allocations: 75.97 kB / 418.2 MB, free: 16.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1999, allocations: 152.9 kB / 418.3 MB, free: 16.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.2002, allocations: 208 kB / 418.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2002, allocations: 0 / 418.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003559/0.2005, allocations: 273.1 kB / 418.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2006, allocations: 7.984 kB / 418.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2006, allocations: 0 / 418.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2006, allocations: 4 kB / 418.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.2009, allocations: 83.95 kB / 418.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2009, allocations: 4 kB / 418.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2011, allocations: 27.69 kB / 418.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2011, allocations: 12 kB / 418.9 MB, free: 15.51 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.561e-05/0.2012, allocations: 157.7 kB / 419.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.2012, allocations: 27.66 kB / 419.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.2013, allocations: 34.64 kB / 419.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2013, allocations: 0 / 419.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2013, allocations: 8 kB / 419.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2013, allocations: 3.984 kB / 419.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.2021, allocations: 0.7672 MB / 419.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2021, allocations: 0 / 419.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.2024, allocations: 51.91 kB / 420 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.2026, allocations: 92.83 kB / 420.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2027, allocations: 4 kB / 420.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.204, allocations: 1.828 MB / 421.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.204, allocations: 4.031 kB / 421.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/0.2085, allocations: 4.86 MB / 426.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.2086, allocations: 100.8 kB / 426.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.2086, allocations: 8.062 kB / 426.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2088, allocations: 8.109 kB / 426.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.2088, allocations: 31.89 kB / 426.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2089, allocations: 7.938 kB / 426.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.2089, allocations: 160.5 kB / 427.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2089, allocations: 0 / 427.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.2094, allocations: 147.6 kB / 427.2 MB, free: 6.711 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 0.0001001/0.2095, allocations: 103.2 kB / 427.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.2098, allocations: 204 kB / 427.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2099, allocations: 128 / 427.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.2102, allocations: 279.2 kB / 427.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.2106, allocations: 31.92 kB / 427.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2119, allocations: 1.41 MB / 429.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.212, allocations: 0.7914 MB / 430 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.745e-05/0.2121, allocations: 33.92 kB / 430 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.2122, allocations: 23.44 kB / 430.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2122, allocations: 3.938 kB / 430.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of Templates: time 0.006116/0.2183, allocations: 4.059 MB / 434.1 MB, free: 15.69 MB / 314.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@2/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