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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.001991, allocations: 203.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2567, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003916/0.2607, allocations: 2.838 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2621, allocations: 0.7595 MB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2623, allocations: 8 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2624, allocations: 63.42 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.2626, allocations: 91.06 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.263, allocations: 131.7 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.2635, allocations: 450.8 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.2638, allocations: 220.9 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2641, allocations: 187.3 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2643, allocations: 203.2 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.2644, allocations: 48 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.2645, allocations: 59.92 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.2646, allocations: 95.75 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2648, allocations: 219 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.2654, allocations: 0.501 MB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2654, allocations: 4 kB / 414.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2654, allocations: 0 / 414.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2654, allocations: 0 / 414.6 MB, free: 11.65 MB / 334.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.0011/0.2665, allocations: 0.6977 MB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2666, allocations: 8.031 kB / 415.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2667, allocations: 82.64 kB / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.2669, allocations: 60.64 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2672, allocations: 276.5 kB / 415.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2673, allocations: 33.38 kB / 415.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.2674, allocations: 48.33 kB / 415.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.2681, allocations: 447.4 kB / 416.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2681, allocations: 0 / 416.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2681, allocations: 24 kB / 416.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2682, allocations: 12 kB / 416.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.2687, allocations: 279.9 kB / 416.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.2708, allocations: 1.311 MB / 417.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.2713, allocations: 242.6 kB / 418.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.2717, allocations: 196.7 kB / 418.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2717, allocations: 4 kB / 418.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2718, allocations: 38.56 kB / 418.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.482e-06/0.2718, allocations: 0 / 418.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001402/0.2732, allocations: 0.5503 MB / 418.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.2733, allocations: 247.3 kB / 419.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2736, allocations: 206.8 kB / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2736, allocations: 33.69 kB / 419.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2738, allocations: 204.6 kB / 419.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.2739, allocations: 107.1 kB / 419.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.274, allocations: 61.7 kB / 419.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2742, allocations: 334.8 kB / 420 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2743, allocations: 75.95 kB / 420.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.2746, allocations: 156.5 kB / 420.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2749, allocations: 200.2 kB / 420.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2749, allocations: 4 kB / 420.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004752/0.2754, allocations: 281.1 kB / 420.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2754, allocations: 4 kB / 420.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2754, allocations: 0 / 420.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2755, allocations: 7.938 kB / 420.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.2758, allocations: 83.89 kB / 420.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2758, allocations: 3.938 kB / 420.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.276, allocations: 31.8 kB / 420.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.276, allocations: 8.062 kB / 420.9 MB, free: 4.969 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.0001763/0.2762, allocations: 161.7 kB / 421 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2763, allocations: 27.8 kB / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.2763, allocations: 30.66 kB / 421.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2763, allocations: 4 kB / 421.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2764, allocations: 0 / 421.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2764, allocations: 3.984 kB / 421.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2775, allocations: 0.7634 MB / 421.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2775, allocations: 4 kB / 421.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2778, allocations: 47.97 kB / 421.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.2781, allocations: 88.8 kB / 422 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2781, allocations: 8 kB / 422 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.2803, allocations: 1.989 MB / 424 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2803, allocations: 4 kB / 424 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.2811, allocations: 0.5091 MB / 424.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.2812, allocations: 96.91 kB / 424.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2813, allocations: 12.12 kB / 424.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2814, allocations: 15.98 kB / 424.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.2815, allocations: 19.97 kB / 424.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2815, allocations: 11.94 kB / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2817, allocations: 148.6 kB / 424.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2817, allocations: 0 / 424.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.2821, allocations: 111.7 kB / 424.9 MB, free: 0.6719 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.001136/0.2832, allocations: 1.029 MB / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2837, allocations: 220.3 kB / 426.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2837, allocations: 8.125 kB / 426.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.2841, allocations: 270.5 kB / 426.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2846, allocations: 35.98 kB / 426.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.2881, allocations: 2.91 MB / 429.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2886, allocations: 0.7831 MB / 430.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.2887, allocations: 25.94 kB / 430.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2888, allocations: 103.4 kB / 430.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2888, allocations: 0 / 430.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3231, allocations: 5.979 MB / 436.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.76, allocations: 7.219 kB / 436.3 MB, free: 5.266 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches