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.001261/0.001261, allocations: 114.2 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.001209/0.001209, allocations: 197.3 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 51.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2578, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004157/0.262, allocations: 2.833 MB / 403.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2633, allocations: 0.7088 MB / 403.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2634, allocations: 8 kB / 403.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2636, allocations: 67.34 kB / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2638, allocations: 95.12 kB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.2642, allocations: 131.7 kB / 404.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.2646, allocations: 442.8 kB / 404.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.265, allocations: 220.9 kB / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2652, allocations: 179.4 kB / 404.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.2655, allocations: 203.1 kB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.2656, allocations: 48 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.2657, allocations: 44 kB / 405.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.2658, allocations: 103.7 kB / 405.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.266, allocations: 219 kB / 405.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.2665, allocations: 0.4933 MB / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2665, allocations: 0 / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2665, allocations: 3.938 kB / 406 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.2666, allocations: 0 / 406 MB, free: 3.047 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.00115/0.2677, allocations: 0.6938 MB / 406.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2678, allocations: 8.031 kB / 406.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.2679, allocations: 86.7 kB / 406.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.268, allocations: 48.66 kB / 406.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.2683, allocations: 281.1 kB / 407.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.2683, allocations: 33.38 kB / 407.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.2684, allocations: 44.38 kB / 407.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.2691, allocations: 451.4 kB / 407.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2692, allocations: 4 kB / 407.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.2692, allocations: 16 kB / 407.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2692, allocations: 8 kB / 407.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.2698, allocations: 291.9 kB / 407.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2717, allocations: 1.303 MB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.2722, allocations: 242.7 kB / 409.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2726, allocations: 196.7 kB / 409.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2726, allocations: 4.5 kB / 409.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2727, allocations: 38.56 kB / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.2727, allocations: 0 / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001456/0.2741, allocations: 0.5498 MB / 410.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.2743, allocations: 243.2 kB / 410.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2745, allocations: 203 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2746, allocations: 37.7 kB / 410.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2747, allocations: 204.6 kB / 410.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.2748, allocations: 111.1 kB / 411 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2749, allocations: 61.69 kB / 411.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2751, allocations: 330.8 kB / 411.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.2753, allocations: 75.95 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.2755, allocations: 165.3 kB / 411.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.2759, allocations: 199.3 kB / 411.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2759, allocations: 0 / 411.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004869/0.2764, allocations: 285 kB / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2764, allocations: 10.19 kB / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2764, allocations: 0 / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2765, allocations: 4 kB / 412.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2768, allocations: 79.89 kB / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.2768, allocations: 4 kB / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.277, allocations: 27.78 kB / 412.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.277, allocations: 15.98 kB / 412.3 MB, free: 12.37 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.0001666/0.2772, allocations: 153.8 kB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.2772, allocations: 31.78 kB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.2773, allocations: 26.66 kB / 412.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2773, allocations: 4 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.2773, allocations: 7.984 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2774, allocations: 0 / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2785, allocations: 0.7711 MB / 413.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2785, allocations: 0 / 413.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.2788, allocations: 55.98 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.2791, allocations: 92.69 kB / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2791, allocations: 4 kB / 413.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.2813, allocations: 1.973 MB / 415.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2814, allocations: 4.031 kB / 415.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.2822, allocations: 0.5023 MB / 415.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.2822, allocations: 105 kB / 416 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.2823, allocations: 11.94 kB / 416 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2824, allocations: 11.98 kB / 416 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.2825, allocations: 31.91 kB / 416 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2825, allocations: 7.938 kB / 416 MB, free: 8.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.2827, allocations: 148.6 kB / 416.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2827, allocations: 0 / 416.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.2831, allocations: 111.7 kB / 416.3 MB, free: 8.074 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.001159/0.2842, allocations: 1.051 MB / 417.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.2847, allocations: 211.8 kB / 417.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2847, allocations: 0 / 417.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.2851, allocations: 278.6 kB / 417.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.2856, allocations: 35.98 kB / 417.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.2893, allocations: 2.894 MB / 420.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.2897, allocations: 0.7831 MB / 421.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.393e-05/0.2898, allocations: 33.92 kB / 421.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.29, allocations: 99.39 kB / 421.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.29, allocations: 0 / 421.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.3234, allocations: 5.977 MB / 427.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.81/10.13, allocations: 13.06 kB / 427.7 MB, free: 12.66 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