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.001756/0.001756, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002125/0.002125, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8 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.001501/0.001501, allocations: 51.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2986, allocations: 53.35 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005093/0.3037, allocations: 3.34 MB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.3062, allocations: 1.432 MB / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3064, allocations: 11.94 kB / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.3068, allocations: 147.1 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.3078, allocations: 425.7 kB / 436.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.3082, allocations: 187.5 kB / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000637/0.3089, allocations: 462 kB / 437.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.3091, allocations: 112.7 kB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3093, allocations: 175.3 kB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3096, allocations: 203.2 kB / 437.6 MB, free: 352 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.3097, allocations: 36 kB / 437.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.31, allocations: 175.8 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.3101, allocations: 87.67 kB / 437.9 MB, free: 52 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.3103, allocations: 191.1 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.3111, allocations: 0.5528 MB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3111, allocations: 0 / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3111, allocations: 0 / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.3111, allocations: 0 / 438.6 MB, free: 15.31 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.001484/0.3126, allocations: 0.6845 MB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3126, allocations: 8.031 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.3127, allocations: 70.72 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.3134, allocations: 116.6 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3139, allocations: 263.6 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.314, allocations: 29.38 kB / 439.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.314, allocations: 28.38 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.3146, allocations: 357.3 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3146, allocations: 4 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.3147, allocations: 12 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3147, allocations: 8 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.3152, allocations: 251.4 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.3174, allocations: 1.269 MB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.3178, allocations: 187.4 kB / 441.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3179, allocations: 77.95 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.3187, allocations: 0.5805 MB / 442.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3187, allocations: 34.56 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3187, allocations: 0 / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005704/0.3193, allocations: 221.4 kB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3194, allocations: 81.11 kB / 442.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3197, allocations: 288.3 kB / 443.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3197, allocations: 33.7 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3199, allocations: 244 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.32, allocations: 71.41 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.3201, allocations: 65.98 kB / 443.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3202, allocations: 330.8 kB / 443.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3204, allocations: 68.61 kB / 443.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3206, allocations: 210.3 kB / 444.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3211, allocations: 287.9 kB / 444.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3211, allocations: 8.125 kB / 444.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005344/0.3216, allocations: 321 kB / 444.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3216, allocations: 8 kB / 444.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3216, allocations: 8 kB / 444.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3217, allocations: 11.94 kB / 444.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3219, allocations: 80.33 kB / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.322, allocations: 12 kB / 444.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3222, allocations: 35.78 kB / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3222, allocations: 15.98 kB / 444.9 MB, free: 8.602 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.0001624/0.3223, allocations: 157.7 kB / 445.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.3224, allocations: 31.75 kB / 445.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.3225, allocations: 29.78 kB / 445.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3225, allocations: 3.938 kB / 445.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3225, allocations: 0 / 445.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3225, allocations: 8 kB / 445.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.3232, allocations: 482.2 kB / 445.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3232, allocations: 7.938 kB / 445.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.3235, allocations: 43.97 kB / 445.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3235, allocations: 4 kB / 445.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.3235, allocations: 3.984 kB / 445.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3235, allocations: 0 / 445.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3235, allocations: 8.031 kB / 445.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.3241, allocations: 421.8 kB / 446.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3241, allocations: 31.72 kB / 446.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.3242, allocations: 8 kB / 446.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3244, allocations: 20.05 kB / 446.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.3244, allocations: 11.97 kB / 446.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3244, allocations: 4 kB / 446.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.3246, allocations: 203.1 kB / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3246, allocations: 0 / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.3251, allocations: 79.83 kB / 446.4 MB, free: 6.996 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.0009304/0.326, allocations: 0.9818 MB / 447.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3264, allocations: 176.7 kB / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3264, allocations: 0 / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3265, allocations: 68.09 kB / 447.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3269, allocations: 33.58 kB / 447.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3309, allocations: 3.134 MB / 450.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3313, allocations: 0.7714 MB / 451.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3315, allocations: 34.95 kB / 451.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.3316, allocations: 111.4 kB / 451.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3316, allocations: 0 / 451.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.3748, allocations: 5.859 MB / 457.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.6, allocations: 16.88 kB / 457.6 MB, free: 11.71 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.451328439001372]