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.001759/0.001759, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002227/0.002227, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002072/0.002072, allocations: 67.91 kB / 377.7 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 53.41 MB / 431.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004524/0.2631, allocations: 3.049 MB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.2654, allocations: 1.32 MB / 435.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2656, allocations: 11.94 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.2659, allocations: 135.1 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009115/0.2668, allocations: 417.7 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2672, allocations: 171.5 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.2678, allocations: 466 kB / 436.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.268, allocations: 104.7 kB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.2682, allocations: 175.4 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.2684, allocations: 183.1 kB / 437.1 MB, free: 384 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.2685, allocations: 32 kB / 437.2 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2688, allocations: 159.9 kB / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.2689, allocations: 83.69 kB / 437.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.269, allocations: 163.2 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.2697, allocations: 0.5487 MB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2697, allocations: 7.938 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2697, allocations: 3.938 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2697, allocations: 0 / 438.1 MB, free: 15.38 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.001364/0.2711, allocations: 0.6728 MB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2711, allocations: 11.98 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.916e-05/0.2712, allocations: 74.72 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007162/0.2719, allocations: 120.6 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.2724, allocations: 251.9 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.2724, allocations: 33.36 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.2725, allocations: 36.38 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.2731, allocations: 408.7 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2731, allocations: 4 kB / 439.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.2731, allocations: 16 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2731, allocations: 8 kB / 439.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.2736, allocations: 245.9 kB / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2756, allocations: 1.183 MB / 441.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.276, allocations: 189.1 kB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2761, allocations: 73.97 kB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/0.2769, allocations: 0.5572 MB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2769, allocations: 30.56 kB / 442 MB, free: 11.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2769, allocations: 4 kB / 442 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005427/0.2774, allocations: 229.3 kB / 442.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2775, allocations: 77.11 kB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.2778, allocations: 300.2 kB / 442.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2778, allocations: 25.7 kB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.278, allocations: 248 kB / 442.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.278, allocations: 63.48 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.2781, allocations: 69.97 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2783, allocations: 338.8 kB / 443.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2784, allocations: 64.62 kB / 443.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2787, allocations: 210.3 kB / 443.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.2791, allocations: 284.9 kB / 443.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2791, allocations: 0 / 443.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005385/0.2796, allocations: 324.8 kB / 444.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2797, allocations: 8 kB / 444.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2797, allocations: 4 kB / 444.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2797, allocations: 15.88 kB / 444.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.28, allocations: 75.91 kB / 444.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.28, allocations: 15.92 kB / 444.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2802, allocations: 35.72 kB / 444.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2802, allocations: 12.12 kB / 444.4 MB, free: 8.719 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.0001549/0.2803, allocations: 153.8 kB / 444.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.2804, allocations: 35.8 kB / 444.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2805, allocations: 25.73 kB / 444.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2805, allocations: 7.938 kB / 444.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2805, allocations: 3.984 kB / 444.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2805, allocations: 0 / 444.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.2812, allocations: 470.5 kB / 445 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.2812, allocations: 12 kB / 445.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2814, allocations: 47.94 kB / 445.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2814, allocations: 0 / 445.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2814, allocations: 8 kB / 445.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2814, allocations: 0 / 445.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2814, allocations: 4 kB / 445.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.282, allocations: 426 kB / 445.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.282, allocations: 27.73 kB / 445.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.2821, allocations: 7.984 kB / 445.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2823, allocations: 12.06 kB / 445.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2823, allocations: 19.97 kB / 445.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2823, allocations: 4 kB / 445.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.2825, allocations: 199.1 kB / 445.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2825, allocations: 0 / 445.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.2829, allocations: 83.84 kB / 445.9 MB, free: 7.125 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.0008809/0.2838, allocations: 0.9661 MB / 446.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2842, allocations: 191 kB / 447 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2842, allocations: 0 / 447 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2844, allocations: 63.91 kB / 447.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2848, allocations: 32.53 kB / 447.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.2885, allocations: 3.119 MB / 450.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2887, allocations: 172.8 kB / 450.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.2888, allocations: 38.94 kB / 450.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2889, allocations: 103.4 kB / 450.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2889, allocations: 0 / 450.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.3231, allocations: 6.195 MB / 456.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.5, allocations: 3 kB / 456.7 MB, free: 12.14 MB / 366.1 MB " [Timeout remaining time 648] (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/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_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: 14.20515700802207]