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.001299/0.001299, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001397/0.001397, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001999/0.001999, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1254, allocations: 53.33 MB / 426.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004958/0.1304, allocations: 3.32 MB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1328, allocations: 1.413 MB / 431 MB, free: 64 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.133, allocations: 11.94 kB / 431.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2234/0.3564, allocations: 139.4 kB / 431.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.358, allocations: 433.2 kB / 431.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.3585, allocations: 180.4 kB / 431.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008926/0.3594, allocations: 465.3 kB / 432.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3596, allocations: 109.1 kB / 432.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3599, allocations: 183.7 kB / 432.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.3602, allocations: 199.8 kB / 432.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.3602, allocations: 34.12 kB / 432.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.3606, allocations: 168.9 kB / 432.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.3607, allocations: 87.34 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3608, allocations: 198.1 kB / 433.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.3615, allocations: 0.5496 MB / 433.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3615, allocations: 0 / 433.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3615, allocations: 0 / 433.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3615, allocations: 1.469 kB / 433.8 MB, free: 7.293 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.001485/0.363, allocations: 0.7591 MB / 434.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3631, allocations: 10.16 kB / 434.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/0.3632, allocations: 72.88 kB / 434.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.3639, allocations: 114.9 kB / 434.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.3644, allocations: 316 kB / 435 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.3645, allocations: 29.7 kB / 435 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3645, allocations: 30.56 kB / 435.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.3652, allocations: 363.8 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3652, allocations: 2.062 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3652, allocations: 13.88 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3652, allocations: 9.016 kB / 435.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.3657, allocations: 243.9 kB / 435.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.3679, allocations: 1.323 MB / 437 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.3683, allocations: 188.2 kB / 437.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3684, allocations: 78.03 kB / 437.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.3694, allocations: 1.202 MB / 438.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3694, allocations: 40 kB / 438.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.325e-06/0.3694, allocations: 1.188 kB / 438.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006171/0.37, allocations: 218.6 kB / 438.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3701, allocations: 84.56 kB / 438.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.3704, allocations: 292.5 kB / 439.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3704, allocations: 31.11 kB / 439.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3705, allocations: 239.8 kB / 439.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.3706, allocations: 70.16 kB / 439.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3707, allocations: 62.81 kB / 439.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.3708, allocations: 336.8 kB / 439.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.371, allocations: 67.11 kB / 439.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3712, allocations: 203.2 kB / 440.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.3716, allocations: 288.1 kB / 440.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3716, allocations: 4.156 kB / 440.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005923/0.3722, allocations: 319.1 kB / 440.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3722, allocations: 6.844 kB / 440.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3722, allocations: 5.031 kB / 440.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3723, allocations: 7.625 kB / 440.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.3726, allocations: 90.61 kB / 440.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3726, allocations: 12.7 kB / 440.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.3728, allocations: 38.64 kB / 440.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3728, allocations: 21.05 kB / 440.9 MB, free: 2.848 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.0001354/0.3729, allocations: 152.3 kB / 441 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.373, allocations: 29 kB / 441 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.3731, allocations: 27.81 kB / 441.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3731, allocations: 10.59 kB / 441.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3731, allocations: 1.25 kB / 441.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3731, allocations: 1.641 kB / 441.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.3738, allocations: 0.5089 MB / 441.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3738, allocations: 1.438 kB / 441.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.374, allocations: 48 kB / 441.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.374, allocations: 2.672 kB / 441.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.374, allocations: 11.47 kB / 441.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.374, allocations: 0.8438 kB / 441.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3741, allocations: 2.297 kB / 441.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.3746, allocations: 423 kB / 442.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3747, allocations: 114 kB / 442.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3747, allocations: 10.12 kB / 442.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3749, allocations: 12.33 kB / 442.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.375, allocations: 13.92 kB / 442.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.375, allocations: 5.547 kB / 442.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3752, allocations: 201.1 kB / 442.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3752, allocations: 0 / 442.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.3757, allocations: 77.52 kB / 442.5 MB, free: 1.703 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.0007953/0.3765, allocations: 0.9713 MB / 443.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.3769, allocations: 182.2 kB / 443.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3769, allocations: 4.188 kB / 443.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3771, allocations: 66.67 kB / 443.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.3775, allocations: 31.08 kB / 443.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.3821, allocations: 3.121 MB / 446.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3826, allocations: 0.7738 MB / 447.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.3828, allocations: 38.62 kB / 447.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3829, allocations: 110.5 kB / 447.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3829, allocations: 0 / 447.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4153, allocations: 5.598 MB / 453.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.828, allocations: 16.67 kB / 453.4 MB, free: 13 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.675742955994792]