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.001513/0.001514, allocations: 112.5 kB / 17.06 MB, free: 5.969 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.001785/0.001784, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 39.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2745, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004139/0.2787, allocations: 2.836 MB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2802, allocations: 0.7127 MB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2805, allocations: 8 kB / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.2807, allocations: 67.34 kB / 403.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.2811, allocations: 99.06 kB / 403.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.2815, allocations: 127.8 kB / 404.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.2821, allocations: 442.8 kB / 404.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.2825, allocations: 224.9 kB / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.2828, allocations: 179.4 kB / 404.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.2831, allocations: 203.1 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.2832, allocations: 44 kB / 405.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.2833, allocations: 48 kB / 405.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.2834, allocations: 99.69 kB / 405.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2836, allocations: 215 kB / 405.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.2841, allocations: 0.4933 MB / 406 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2841, allocations: 4 kB / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2842, allocations: 0 / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.2842, allocations: 3.938 kB / 406 MB, free: 2.992 MB / 318.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.001283/0.2855, allocations: 0.6966 MB / 406.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2855, allocations: 15.89 kB / 406.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.2856, allocations: 86.64 kB / 406.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2857, allocations: 48.66 kB / 406.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.2861, allocations: 277.2 kB / 407.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.2861, allocations: 33.38 kB / 407.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.2862, allocations: 40.38 kB / 407.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.287, allocations: 455.4 kB / 407.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.287, allocations: 0 / 407.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.287, allocations: 16 kB / 407.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2871, allocations: 11.98 kB / 407.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.2876, allocations: 283.9 kB / 407.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.2896, allocations: 1.311 MB / 409.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.29, allocations: 242.7 kB / 409.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.2904, allocations: 192.8 kB / 409.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2904, allocations: 4.5 kB / 409.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2905, allocations: 38.56 kB / 409.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.2905, allocations: 0 / 409.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001345/0.2918, allocations: 0.5498 MB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.292, allocations: 239.3 kB / 410.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.2922, allocations: 210.9 kB / 410.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.2922, allocations: 33.7 kB / 410.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2923, allocations: 200.6 kB / 410.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.2924, allocations: 111.1 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.2925, allocations: 65.69 kB / 411.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2927, allocations: 330.8 kB / 411.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2928, allocations: 79.95 kB / 411.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2931, allocations: 161.2 kB / 411.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2934, allocations: 191.5 kB / 411.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2934, allocations: 4 kB / 411.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004653/0.2939, allocations: 280.9 kB / 412.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2939, allocations: 4 kB / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2939, allocations: 0 / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.294, allocations: 8.062 kB / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.2943, allocations: 79.89 kB / 412.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2943, allocations: 4 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.2945, allocations: 31.72 kB / 412.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2945, allocations: 15.98 kB / 412.3 MB, free: 12.32 MB / 334.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.0001428/0.2947, allocations: 149.8 kB / 412.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.2947, allocations: 31.8 kB / 412.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.2948, allocations: 26.66 kB / 412.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2948, allocations: 7.984 kB / 412.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2948, allocations: 7.984 kB / 412.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2948, allocations: 0 / 412.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2959, allocations: 0.7672 MB / 413.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2959, allocations: 0 / 413.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.2962, allocations: 55.95 kB / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.2965, allocations: 96.72 kB / 413.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2966, allocations: 4 kB / 413.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.2986, allocations: 1.977 MB / 415.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2986, allocations: 0 / 415.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.2994, allocations: 0.5023 MB / 415.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.2995, allocations: 108.9 kB / 416 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.2996, allocations: 11.98 kB / 416 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2997, allocations: 8 kB / 416 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.2998, allocations: 23.97 kB / 416 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2998, allocations: 7.938 kB / 416 MB, free: 8.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.2999, allocations: 148.6 kB / 416.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2999, allocations: 4 kB / 416.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.3003, allocations: 111.7 kB / 416.3 MB, free: 8.027 MB / 334.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.001052/0.3014, allocations: 1.052 MB / 417.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.3018, allocations: 215.8 kB / 417.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.3018, allocations: 4 kB / 417.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.3022, allocations: 270.5 kB / 417.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3026, allocations: 40.23 kB / 417.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.3059, allocations: 2.898 MB / 420.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3063, allocations: 0.7908 MB / 421.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.3064, allocations: 21.94 kB / 421.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3065, allocations: 99.39 kB / 421.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3065, allocations: 4 kB / 421.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3341, allocations: 5.972 MB / 427.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.17, allocations: 20.3 kB / 427.7 MB, free: 12.61 MB / 350.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