Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008257/0.0008257, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008628/0.0008628, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.888/0.888, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.288e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002834/0.002847, allocations: 3.043 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.00436, allocations: 1.327 MB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.004508, allocations: 11.94 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.004811, allocations: 142.9 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.005473, allocations: 425.5 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.005724, allocations: 175.5 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.006165, allocations: 477.8 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.006326, allocations: 108.8 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.006535, allocations: 247.4 kB / 330.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006691, allocations: 155.5 kB / 330.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.006727, allocations: 36 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.006933, allocations: 155.8 kB / 330.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.006979, allocations: 87.66 kB / 330.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.007061, allocations: 131.7 kB / 331 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.007503, allocations: 0.5645 MB / 331.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007505, allocations: 0 / 331.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007506, allocations: 4 kB / 331.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.007512, allocations: 4 kB / 331.6 MB, free: 8.797 MB / 298.7 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.0008699/0.008382, allocations: 0.6727 MB / 332.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.008418, allocations: 15.98 kB / 332.2 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.008471, allocations: 70.66 kB / 332.3 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.008839, allocations: 124.6 kB / 332.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.00914, allocations: 251.2 kB / 332.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.009163, allocations: 21.38 kB / 332.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.009206, allocations: 36.38 kB / 332.7 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.009601, allocations: 409 kB / 333.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.009612, allocations: 8.125 kB / 333.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.009638, allocations: 20.12 kB / 333.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.009645, allocations: 8 kB / 333.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.009938, allocations: 241.9 kB / 333.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01112, allocations: 1.192 MB / 334.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.01136, allocations: 182 kB / 334.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.01145, allocations: 85.69 kB / 334.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/0.0119, allocations: 0.5458 MB / 335.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01193, allocations: 42.61 kB / 335.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.01193, allocations: 3.938 kB / 335.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003366/0.01226, allocations: 213.5 kB / 335.7 MB, free: 4.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.0123, allocations: 85.05 kB / 335.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.0125, allocations: 300.1 kB / 336 MB, free: 4.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01252, allocations: 33.7 kB / 336.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01262, allocations: 236.1 kB / 336.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.01266, allocations: 71.41 kB / 336.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.01272, allocations: 65.98 kB / 336.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.01281, allocations: 334.8 kB / 336.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.01291, allocations: 72.61 kB / 336.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01305, allocations: 198.4 kB / 337 MB, free: 2.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.01331, allocations: 295.7 kB / 337.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01331, allocations: 4 kB / 337.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003222/0.01363, allocations: 317.5 kB / 337.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01365, allocations: 4 kB / 337.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01365, allocations: 4.078 kB / 337.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01367, allocations: 8 kB / 337.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.01382, allocations: 79.83 kB / 337.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.01383, allocations: 11.98 kB / 337.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01393, allocations: 39.7 kB / 337.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01394, allocations: 16 kB / 337.8 MB, free: 2.137 MB / 298.7 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 9.717e-05/0.01404, allocations: 165.8 kB / 338 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.01408, allocations: 27.81 kB / 338 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.01412, allocations: 29.84 kB / 338 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.01412, allocations: 4 kB / 338 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01412, allocations: 0 / 338 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01413, allocations: 3.938 kB / 338 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.01454, allocations: 470.2 kB / 338.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01454, allocations: 0 / 338.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01465, allocations: 48 kB / 338.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01465, allocations: 0 / 338.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01466, allocations: 7.938 kB / 338.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01467, allocations: 7.938 kB / 338.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01467, allocations: 320 / 338.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.015, allocations: 418.8 kB / 339 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.01503, allocations: 31.81 kB / 339 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.01505, allocations: 11.94 kB / 339 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01515, allocations: 16.05 kB / 339 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01519, allocations: 11.98 kB / 339 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.0152, allocations: 7.984 kB / 339 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.01533, allocations: 207 kB / 339.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 3.938 kB / 339.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.0156, allocations: 83.78 kB / 339.3 MB, free: 0.5234 MB / 298.7 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.0005483/0.01615, allocations: 0.9661 MB / 340.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.01639, allocations: 176.7 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01639, allocations: 0 / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.01647, allocations: 75.83 kB / 340.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01675, allocations: 28.97 kB / 340.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.01906, allocations: 3.075 MB / 343.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01917, allocations: 164.8 kB / 343.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.01925, allocations: 34.95 kB / 343.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.01934, allocations: 108.5 kB / 343.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01934, allocations: 3.938 kB / 343.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03848, allocations: 6.333 MB / 350.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.803, allocations: 10.84 kB / 350.3 MB, free: 5.465 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.667082128114998]