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.001701/0.001701, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 198 kB / 18.73 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.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2824, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003663/0.2861, allocations: 2.851 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2873, allocations: 0.7556 MB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2875, allocations: 4 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2876, allocations: 63.36 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.2878, allocations: 95.06 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.2882, allocations: 131.8 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2886, allocations: 446.8 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.2889, allocations: 220.9 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.2892, allocations: 179.5 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.2894, allocations: 211.1 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.2895, allocations: 48 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.2896, allocations: 51.98 kB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.2897, allocations: 95.69 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2899, allocations: 223 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.2904, allocations: 0.5049 MB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2904, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2904, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2904, allocations: 4 kB / 414.6 MB, free: 11.66 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.001047/0.2914, allocations: 0.6899 MB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2915, allocations: 11.97 kB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/0.2916, allocations: 86.7 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.2918, allocations: 52.66 kB / 415.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.2921, allocations: 284.5 kB / 415.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2922, allocations: 33.38 kB / 415.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.2922, allocations: 48.31 kB / 415.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.2929, allocations: 455.4 kB / 416.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.293, allocations: 0 / 416.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.293, allocations: 20 kB / 416.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.293, allocations: 12 kB / 416.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.2935, allocations: 283.9 kB / 416.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.2953, allocations: 1.303 MB / 417.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.2957, allocations: 242.6 kB / 418.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.2961, allocations: 196.7 kB / 418.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2962, allocations: 7.938 kB / 418.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2962, allocations: 42.56 kB / 418.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.2962, allocations: 0 / 418.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001323/0.2975, allocations: 0.5464 MB / 418.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2976, allocations: 239.3 kB / 419.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.2978, allocations: 210.8 kB / 419.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.2979, allocations: 33.7 kB / 419.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.298, allocations: 208.6 kB / 419.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.2981, allocations: 107.1 kB / 419.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.2982, allocations: 57.7 kB / 419.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2983, allocations: 338.8 kB / 420 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2985, allocations: 75.95 kB / 420.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2987, allocations: 148.5 kB / 420.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.299, allocations: 204.2 kB / 420.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.299, allocations: 0 / 420.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004246/0.2994, allocations: 281.1 kB / 420.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2995, allocations: 8 kB / 420.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2995, allocations: 0 / 420.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2995, allocations: 0 / 420.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.2998, allocations: 83.95 kB / 420.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2998, allocations: 0 / 420.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3, allocations: 39.8 kB / 420.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3, allocations: 8 kB / 420.9 MB, free: 4.984 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.0001424/0.3002, allocations: 157.7 kB / 421 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3002, allocations: 31.78 kB / 421.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.3003, allocations: 34.59 kB / 421.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3003, allocations: 4 kB / 421.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3003, allocations: 3.938 kB / 421.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3004, allocations: 11.98 kB / 421.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3014, allocations: 0.7595 MB / 421.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3014, allocations: 0 / 421.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.3016, allocations: 55.91 kB / 421.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.302, allocations: 88.83 kB / 422 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.302, allocations: 8 kB / 422 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.3039, allocations: 1.977 MB / 424 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3039, allocations: 0 / 424 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.3046, allocations: 0.5091 MB / 424.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.3047, allocations: 105 kB / 424.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.3048, allocations: 4 kB / 424.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3049, allocations: 15.98 kB / 424.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.305, allocations: 19.97 kB / 424.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.305, allocations: 11.94 kB / 424.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3051, allocations: 148.6 kB / 424.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3051, allocations: 3.938 kB / 424.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.3055, allocations: 111.7 kB / 424.9 MB, free: 0.6836 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.001016/0.3065, allocations: 1.04 MB / 426 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.3069, allocations: 216.4 kB / 426.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3069, allocations: 0 / 426.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.3074, allocations: 270.5 kB / 426.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3078, allocations: 32.3 kB / 426.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.3111, allocations: 2.918 MB / 429.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3115, allocations: 0.787 MB / 430.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.3116, allocations: 21.94 kB / 430.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3117, allocations: 103.4 kB / 430.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3117, allocations: 0 / 430.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3368, allocations: 5.982 MB / 436.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/9.956, allocations: 3.984 kB / 436.3 MB, free: 5.27 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.0.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