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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.91 kB / 370.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2658, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004246/0.2701, allocations: 2.865 MB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2716, allocations: 0.7244 MB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2717, allocations: 8 kB / 426.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2719, allocations: 59.42 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.2721, allocations: 95.06 kB / 426.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2725, allocations: 131.8 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.273, allocations: 446.8 kB / 426.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.2733, allocations: 169.4 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.2736, allocations: 183.4 kB / 427.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2739, allocations: 207.1 kB / 427.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.2739, allocations: 48 kB / 427.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.274, allocations: 48 kB / 427.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.2741, allocations: 95.69 kB / 427.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2743, allocations: 215 kB / 427.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.2748, allocations: 0.4945 MB / 428.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2748, allocations: 0 / 428.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2748, allocations: 0 / 428.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.2748, allocations: 0 / 428.4 MB, free: 8.848 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.001119/0.276, allocations: 0.6263 MB / 429 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.276, allocations: 12.03 kB / 429 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.463e-05/0.2761, allocations: 78.72 kB / 429.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.2762, allocations: 48.66 kB / 429.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.2765, allocations: 222.6 kB / 429.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.2765, allocations: 33.38 kB / 429.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.2766, allocations: 44.38 kB / 429.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.2774, allocations: 451.4 kB / 429.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2774, allocations: 0 / 429.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.2774, allocations: 20 kB / 429.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2774, allocations: 12 kB / 429.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.278, allocations: 279.9 kB / 430.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.28, allocations: 1.259 MB / 431.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.2804, allocations: 215.8 kB / 431.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.2808, allocations: 184.7 kB / 431.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2809, allocations: 4.5 kB / 431.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2809, allocations: 30.56 kB / 431.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.2809, allocations: 0 / 431.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001404/0.2823, allocations: 485.8 kB / 432.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.2824, allocations: 239.3 kB / 432.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2826, allocations: 211 kB / 432.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2827, allocations: 37.64 kB / 432.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2828, allocations: 200.6 kB / 433 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.2829, allocations: 107.1 kB / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.283, allocations: 61.69 kB / 433.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2832, allocations: 338.8 kB / 433.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.2833, allocations: 71.97 kB / 433.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.2835, allocations: 164.8 kB / 433.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.2839, allocations: 196.2 kB / 433.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2839, allocations: 0 / 433.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004886/0.2844, allocations: 281.1 kB / 434.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2844, allocations: 4 kB / 434.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2844, allocations: 4 kB / 434.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2844, allocations: 4 kB / 434.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.2848, allocations: 79.89 kB / 434.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2848, allocations: 0 / 434.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.285, allocations: 39.77 kB / 434.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.285, allocations: 4 kB / 434.3 MB, free: 2.543 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.0001685/0.2852, allocations: 157.8 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.2852, allocations: 31.73 kB / 434.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.2853, allocations: 34.64 kB / 434.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2853, allocations: 4 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.2853, allocations: 0 / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2853, allocations: 3.984 kB / 434.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2865, allocations: 0.7429 MB / 435.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2865, allocations: 0 / 435.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.2867, allocations: 47.97 kB / 435.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003306/0.2871, allocations: 84.75 kB / 435.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2871, allocations: 11.98 kB / 435.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.2893, allocations: 1.885 MB / 437.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2893, allocations: 0 / 437.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.2902, allocations: 499.2 kB / 437.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.2902, allocations: 23.8 kB / 437.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2902, allocations: 8.062 kB / 437.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2904, allocations: 23.98 kB / 437.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.2905, allocations: 23.95 kB / 437.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2905, allocations: 7.938 kB / 437.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2906, allocations: 148.6 kB / 438 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2906, allocations: 0 / 438 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.2911, allocations: 111.7 kB / 438.1 MB, free: 14.51 MB / 350.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.00115/0.2922, allocations: 1.043 MB / 439.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.2926, allocations: 207.9 kB / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2927, allocations: 0 / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2931, allocations: 266.6 kB / 439.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2935, allocations: 46.59 kB / 439.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.2973, allocations: 2.883 MB / 442.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.2977, allocations: 0.7831 MB / 443.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.2978, allocations: 29.92 kB / 443.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.298, allocations: 107.4 kB / 443.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.298, allocations: 0 / 443.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.3357, allocations: 6.258 MB / 449.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.18, allocations: 0 / 449.8 MB, free: 2.859 MB / 350.1 MB " [Timeout remaining time 648] (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 3.9984e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 14.893147496000893]