Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 196.2 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.6 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006948/0.0006948, allocations: 91.95 kB / 296.4 MB, free: 6.797 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001961/0.0001961, allocations: 4 kB / 356.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1803, allocations: 51.3 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.001821/0.1821, allocations: 2.37 MB / 409.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.183, allocations: 0.7332 MB / 410.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.1831, allocations: 4 kB / 410.6 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.1831, allocations: 43.67 kB / 410.6 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1833, allocations: 81.78 kB / 410.7 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1835, allocations: 91.89 kB / 410.8 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1838, allocations: 417.3 kB / 411.2 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.184, allocations: 157.5 kB / 411.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1842, allocations: 151.5 kB / 411.5 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1843, allocations: 163.3 kB / 411.7 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.1844, allocations: 27.94 kB / 411.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.1845, allocations: 33.56 kB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.1845, allocations: 75.69 kB / 411.8 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1846, allocations: 93.52 kB / 411.9 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1848, allocations: 383.9 kB / 412.3 MB, free: 22.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1848, allocations: 4 kB / 412.3 MB, free: 22.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1848, allocations: 0 / 412.3 MB, free: 22.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1848, allocations: 0 / 412.3 MB, free: 22.99 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.0007336/0.1856, allocations: 0.6201 MB / 412.9 MB, free: 22.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1856, allocations: 12.03 kB / 412.9 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.1858, allocations: 59.42 kB / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.186, allocations: 267.2 kB / 413.2 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1861, allocations: 36.95 kB / 413.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.1861, allocations: 43.94 kB / 413.3 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.1867, allocations: 451.3 kB / 413.8 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1867, allocations: 0 / 413.8 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.1868, allocations: 23.94 kB / 413.8 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1868, allocations: 8 kB / 413.8 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.1872, allocations: 287.9 kB / 414.1 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1886, allocations: 1.318 MB / 415.4 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.1889, allocations: 245.9 kB / 415.6 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1892, allocations: 196.7 kB / 415.8 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1892, allocations: 4 kB / 415.8 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.1893, allocations: 34.56 kB / 415.9 MB, free: 19.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.1893, allocations: 0 / 415.9 MB, free: 19.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001164/0.1904, allocations: 0.555 MB / 416.4 MB, free: 18.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1905, allocations: 235.3 kB / 416.6 MB, free: 18.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1906, allocations: 207 kB / 416.8 MB, free: 18.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1907, allocations: 29.7 kB / 416.9 MB, free: 18.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1907, allocations: 200.2 kB / 417.1 MB, free: 17.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1908, allocations: 102.5 kB / 417.2 MB, free: 17.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.1908, allocations: 4 kB / 417.2 MB, free: 17.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.1909, allocations: 338.8 kB / 417.5 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.191, allocations: 83.66 kB / 417.6 MB, free: 17.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1911, allocations: 152.5 kB / 417.7 MB, free: 17.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1913, allocations: 99.84 kB / 417.8 MB, free: 17.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1913, allocations: 0 / 417.8 MB, free: 17.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003483/0.1917, allocations: 273.9 kB / 418.1 MB, free: 16.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1917, allocations: 4 kB / 418.1 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1917, allocations: 12 kB / 418.1 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1917, allocations: 7.891 kB / 418.1 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.192, allocations: 79.89 kB / 418.2 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.192, allocations: 4 kB / 418.2 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1922, allocations: 39.58 kB / 418.2 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1922, allocations: 8 kB / 418.2 MB, free: 16.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1923, allocations: 149.8 kB / 418.4 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.1924, allocations: 23.81 kB / 418.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.1924, allocations: 38.64 kB / 418.5 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1924, allocations: 0 / 418.5 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1924, allocations: 7.953 kB / 418.5 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1924, allocations: 0 / 418.5 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.1932, allocations: 0.772 MB / 419.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1932, allocations: 7.984 kB / 419.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.1934, allocations: 47.97 kB / 419.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.1937, allocations: 92.73 kB / 419.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1937, allocations: 8 kB / 419.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.195, allocations: 1.826 MB / 421.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.195, allocations: 4.031 kB / 421.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.1956, allocations: 0.51 MB / 421.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1956, allocations: 100.8 kB / 421.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1957, allocations: 8.062 kB / 421.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1958, allocations: 15.98 kB / 421.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1959, allocations: 27.95 kB / 421.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1959, allocations: 8 kB / 421.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.196, allocations: 148.4 kB / 422 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.196, allocations: 0 / 422 MB, free: 12.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000293/0.1963, allocations: 111.6 kB / 422.1 MB, free: 12.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.603e-05/0.1964, allocations: 95.25 kB / 422.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.1967, allocations: 219.7 kB / 422.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1967, allocations: 0 / 422.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.197, allocations: 286.3 kB / 422.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1974, allocations: 40.12 kB / 422.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.1983, allocations: 1.076 MB / 423.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.1985, allocations: 0.7833 MB / 424.6 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.1985, allocations: 19.44 kB / 424.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1985, allocations: 3.938 kB / 424.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of Templates: time 0.004227/0.2028, allocations: 3.994 MB / 428.6 MB, free: 5.922 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches