Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 51.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2895, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004456/0.294, allocations: 2.982 MB / 399.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2962, allocations: 1.26 MB / 400.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.2964, allocations: 10.5 kB / 400.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.2968, allocations: 142 kB / 400.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.2977, allocations: 312.2 kB / 401 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2982, allocations: 239.4 kB / 401.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.2987, allocations: 451.7 kB / 401.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2989, allocations: 101.8 kB / 401.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.2991, allocations: 171.3 kB / 402 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2994, allocations: 179 kB / 402.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.2994, allocations: 34.34 kB / 402.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.2999, allocations: 152.5 kB / 402.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.2999, allocations: 80.27 kB / 402.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3, allocations: 163.8 kB / 402.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.3006, allocations: 0.5387 MB / 403.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3006, allocations: 0 / 403.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3006, allocations: 1.25 kB / 403.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3006, allocations: 4 kB / 403.1 MB, free: 4.793 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001365/0.302, allocations: 0.6656 MB / 403.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.302, allocations: 13.92 kB / 403.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.3021, allocations: 76.62 kB / 403.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.3027, allocations: 102.5 kB / 404 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.303, allocations: 257.5 kB / 404.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3031, allocations: 22.22 kB / 404.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.3031, allocations: 35.25 kB / 404.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3037, allocations: 407.2 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3037, allocations: 0 / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3037, allocations: 15.56 kB / 404.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3037, allocations: 8.125 kB / 404.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.3043, allocations: 251.9 kB / 405 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3062, allocations: 1.18 MB / 406.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.3066, allocations: 185.1 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3067, allocations: 76.22 kB / 406.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.3073, allocations: 0.519 MB / 406.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3073, allocations: 38.06 kB / 406.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.3074, allocations: 0 / 406.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005424/0.3079, allocations: 235.7 kB / 407.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.3079, allocations: 80.52 kB / 407.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.3082, allocations: 291.8 kB / 407.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3082, allocations: 30.89 kB / 407.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3084, allocations: 243.8 kB / 407.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3084, allocations: 61.25 kB / 407.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3085, allocations: 67.05 kB / 407.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3087, allocations: 337.2 kB / 408.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3088, allocations: 67 kB / 408.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.309, allocations: 202.9 kB / 408.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.3094, allocations: 285.8 kB / 408.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3094, allocations: 5.094 kB / 408.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005384/0.31, allocations: 318.9 kB / 409.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.31, allocations: 7.781 kB / 409.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.31, allocations: 4.625 kB / 409.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.31, allocations: 10.69 kB / 409.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3103, allocations: 84.69 kB / 409.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.3103, allocations: 10.7 kB / 409.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3105, allocations: 38.75 kB / 409.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3105, allocations: 16.92 kB / 409.3 MB, free: 484 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001247/0.3107, allocations: 156.1 kB / 409.4 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.3107, allocations: 24.89 kB / 409.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3108, allocations: 28.67 kB / 409.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3108, allocations: 7 kB / 409.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3108, allocations: 4 kB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3108, allocations: 6.969 kB / 409.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.3115, allocations: 460.9 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3116, allocations: 3.938 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3118, allocations: 49.34 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3118, allocations: 1.969 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3118, allocations: 7.328 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3118, allocations: 1.156 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3118, allocations: 5.062 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3124, allocations: 423.1 kB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.3124, allocations: 37.14 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.3125, allocations: 3.344 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3127, allocations: 15.23 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.3127, allocations: 14.88 kB / 410.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3127, allocations: 10.42 kB / 410.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.313, allocations: 200.5 kB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.3135, allocations: 85.06 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.3145, allocations: 0.9587 MB / 411.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.315, allocations: 184.6 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.315, allocations: 1.094 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3151, allocations: 67.2 kB / 412 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3155, allocations: 31.34 kB / 412 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.3202, allocations: 3.107 MB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3204, allocations: 167.1 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3206, allocations: 42.72 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.3208, allocations: 103.9 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.227e-06/0.3208, allocations: 0 / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.3584, allocations: 6.1 MB / 421.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.01, allocations: 12.98 kB / 421.6 MB, free: 8.547 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.89688127906993]