Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 103.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.245/2.245, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 42.53 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1327, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006367/0.1391, allocations: 2.825 MB / 353 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1412, allocations: 0.7165 MB / 353.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.1416, allocations: 8 kB / 353.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1419, allocations: 59.42 kB / 353.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.1424, allocations: 103 kB / 353.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.1431, allocations: 119.8 kB / 354 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008243/0.1439, allocations: 450.8 kB / 354.4 MB, free: 32 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.1445, allocations: 212.9 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.1449, allocations: 179.4 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.1454, allocations: 207.1 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.1456, allocations: 52 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1457, allocations: 44 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1459, allocations: 95.69 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.1463, allocations: 219 kB / 355.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007712/0.1471, allocations: 0.4907 MB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1471, allocations: 0 / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1472, allocations: 3.938 kB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.1472, allocations: 0 / 355.9 MB, free: 14.54 MB / 302.1 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.001883/0.1491, allocations: 0.6903 MB / 356.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1492, allocations: 8.031 kB / 356.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.1493, allocations: 86.66 kB / 356.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1495, allocations: 44.47 kB / 356.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.15, allocations: 273.6 kB / 357 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.15, allocations: 33.38 kB / 357 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1502, allocations: 48.28 kB / 357.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1514, allocations: 451.4 kB / 357.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.1514, allocations: 4 kB / 357.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.1515, allocations: 16 kB / 357.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.1516, allocations: 15.94 kB / 357.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.1525, allocations: 291.8 kB / 357.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.1556, allocations: 1.303 MB / 359.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.1564, allocations: 246.4 kB / 359.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.157, allocations: 196.8 kB / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.157, allocations: 7.984 kB / 359.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1571, allocations: 30.56 kB / 359.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.836e-06/0.1571, allocations: 4 kB / 359.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00235/0.1595, allocations: 0.5462 MB / 360.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.1596, allocations: 235.3 kB / 360.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.16, allocations: 207 kB / 360.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.16, allocations: 37.7 kB / 360.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1602, allocations: 196.2 kB / 360.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1604, allocations: 110.4 kB / 360.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1606, allocations: 61.7 kB / 361 MB, free: 9.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1607, allocations: 334.8 kB / 361.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.161, allocations: 75.97 kB / 361.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.1614, allocations: 168.7 kB / 361.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.162, allocations: 195.3 kB / 361.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.162, allocations: 0 / 361.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008456/0.1629, allocations: 284.9 kB / 362 MB, free: 8.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1629, allocations: 7.984 kB / 362 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.163, allocations: 4 kB / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.163, allocations: 0 / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.1636, allocations: 83.89 kB / 362.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1636, allocations: 3.938 kB / 362.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.164, allocations: 31.69 kB / 362.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.164, allocations: 11.94 kB / 362.2 MB, free: 7.871 MB / 302.1 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 0.0002213/0.1642, allocations: 153.8 kB / 362.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.1643, allocations: 27.66 kB / 362.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.1644, allocations: 34.64 kB / 362.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1645, allocations: 4 kB / 362.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.1645, allocations: 0 / 362.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.1645, allocations: 3.984 kB / 362.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.1662, allocations: 0.764 MB / 363.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1662, allocations: 8.031 kB / 363.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.1667, allocations: 43.97 kB / 363.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.1671, allocations: 96.67 kB / 363.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.1672, allocations: 8 kB / 363.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.1704, allocations: 1.977 MB / 365.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1704, allocations: 3.938 kB / 365.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1718, allocations: 0.5051 MB / 365.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1719, allocations: 96.77 kB / 365.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.172, allocations: 8.125 kB / 365.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.1723, allocations: 19.98 kB / 365.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.1724, allocations: 19.97 kB / 365.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1724, allocations: 20.06 kB / 365.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1727, allocations: 144.6 kB / 366.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1727, allocations: 0 / 366.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.1734, allocations: 107.7 kB / 366.2 MB, free: 3.582 MB / 302.1 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.001731/0.1751, allocations: 1.044 MB / 367.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007998/0.176, allocations: 223.8 kB / 367.5 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.176, allocations: 4.125 kB / 367.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.1767, allocations: 278.5 kB / 367.7 MB, free: 1.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.1775, allocations: 31.98 kB / 367.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2202/0.3977, allocations: 2.885 MB / 370.6 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3981, allocations: 0.7835 MB / 371.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.3983, allocations: 28.52 kB / 371.5 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3985, allocations: 100.9 kB / 371.6 MB, free: 23.74 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3985, allocations: 0 / 371.6 MB, free: 23.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/0.5275, allocations: 5.843 MB / 377.4 MB, free: 23.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.16/17.68, allocations: 11.52 kB / 377.4 MB, free: 23.24 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches