Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001257/0.001257, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001339/0.001339, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 47.92 kB / 377.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2938, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004827/0.2986, allocations: 3.052 MB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.301, allocations: 1.308 MB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.3012, allocations: 11.94 kB / 435.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.3016, allocations: 135.1 kB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3027, allocations: 417.7 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.3031, allocations: 183.5 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.3038, allocations: 462 kB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.304, allocations: 104.7 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3042, allocations: 175.4 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3045, allocations: 183.1 kB / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.3045, allocations: 36 kB / 437.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.3049, allocations: 159.9 kB / 437.3 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.305, allocations: 87.62 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3051, allocations: 155.2 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.3059, allocations: 0.5568 MB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3059, allocations: 0 / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3059, allocations: 0 / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.3059, allocations: 4 kB / 438.1 MB, free: 15.64 MB / 350.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.00157/0.3075, allocations: 0.6728 MB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3075, allocations: 8.031 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.823e-05/0.3076, allocations: 74.72 kB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.3084, allocations: 120.6 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.3089, allocations: 263.6 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.309, allocations: 29.38 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.309, allocations: 32.38 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.3097, allocations: 404.7 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3097, allocations: 4 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3098, allocations: 12 kB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3098, allocations: 12 kB / 439.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.3103, allocations: 249.8 kB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3124, allocations: 1.183 MB / 441.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.3128, allocations: 185.1 kB / 441.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3129, allocations: 77.95 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007926/0.3137, allocations: 0.5494 MB / 441.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3138, allocations: 34.56 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.3138, allocations: 4.109 kB / 442 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005608/0.3143, allocations: 225.2 kB / 442.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3144, allocations: 85.09 kB / 442.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.3147, allocations: 296.2 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3147, allocations: 25.7 kB / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3149, allocations: 244 kB / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.315, allocations: 67.47 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.3151, allocations: 65.98 kB / 442.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3152, allocations: 338.8 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.3154, allocations: 76.55 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3156, allocations: 206.3 kB / 443.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.3161, allocations: 288.1 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3161, allocations: 8 kB / 443.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005642/0.3166, allocations: 309.5 kB / 444.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3167, allocations: 14.28 kB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3167, allocations: 4 kB / 444.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3167, allocations: 11.94 kB / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.317, allocations: 79.89 kB / 444.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.317, allocations: 12.02 kB / 444.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3172, allocations: 39.7 kB / 444.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3172, allocations: 15.98 kB / 444.3 MB, free: 8.969 MB / 350.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.0001542/0.3174, allocations: 153.8 kB / 444.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.3175, allocations: 31.81 kB / 444.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.3175, allocations: 29.78 kB / 444.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3175, allocations: 3.938 kB / 444.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3175, allocations: 4 kB / 444.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3175, allocations: 3.938 kB / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.3182, allocations: 470.5 kB / 445 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3182, allocations: 3.938 kB / 445 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.3184, allocations: 43.91 kB / 445 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3185, allocations: 8.031 kB / 445 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3185, allocations: 4 kB / 445 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3185, allocations: 4 kB / 445.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3185, allocations: 3.984 kB / 445.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.319, allocations: 421.9 kB / 445.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3191, allocations: 31.75 kB / 445.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.3191, allocations: 4 kB / 445.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3193, allocations: 20.05 kB / 445.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3194, allocations: 11.98 kB / 445.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3194, allocations: 7.984 kB / 445.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.3196, allocations: 203.1 kB / 445.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3196, allocations: 0 / 445.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.32, allocations: 83.78 kB / 445.8 MB, free: 7.375 MB / 350.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.0009372/0.321, allocations: 0.9662 MB / 446.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.3214, allocations: 179.3 kB / 447 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3214, allocations: 4.125 kB / 447 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3215, allocations: 71.89 kB / 447 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3219, allocations: 32.91 kB / 447.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.3259, allocations: 3.119 MB / 450.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3261, allocations: 168.8 kB / 450.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.3262, allocations: 38.95 kB / 450.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3264, allocations: 107.4 kB / 450.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3264, allocations: 0 / 450.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.363, allocations: 6.181 MB / 456.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 10.8 kB / 456.7 MB, free: 12.42 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.37160754809156]