Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004855/0.2723, allocations: 3.326 MB / 426 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2748, allocations: 1.316 MB / 427.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.2751, allocations: 8 kB / 427.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.2757, allocations: 147 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.277, allocations: 465.5 kB / 427.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.2775, allocations: 159.5 kB / 428 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.2784, allocations: 458.1 kB / 428.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.2786, allocations: 100.7 kB / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2789, allocations: 175.3 kB / 428.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.2793, allocations: 211 kB / 429 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.2794, allocations: 36 kB / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.2797, allocations: 159.9 kB / 429.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.2798, allocations: 75.7 kB / 429.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.28, allocations: 195.1 kB / 429.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.2807, allocations: 0.5373 MB / 429.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2807, allocations: 0 / 429.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2807, allocations: 0 / 429.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2807, allocations: 3.938 kB / 430 MB, free: 7.25 MB / 334.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.001428/0.2822, allocations: 0.6806 MB / 430.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.2822, allocations: 12.03 kB / 430.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.345e-05/0.2823, allocations: 70.72 kB / 430.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.2829, allocations: 92.66 kB / 430.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.2834, allocations: 254.8 kB / 431.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.2834, allocations: 25.38 kB / 431.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.2835, allocations: 36.38 kB / 431.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.2841, allocations: 357.3 kB / 431.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2841, allocations: 0 / 431.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2842, allocations: 12 kB / 431.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2842, allocations: 12 kB / 431.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.2847, allocations: 245.9 kB / 431.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.2869, allocations: 1.261 MB / 433 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.2873, allocations: 181.2 kB / 433.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2875, allocations: 81.69 kB / 433.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007651/0.2883, allocations: 0.5459 MB / 433.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.2883, allocations: 46.5 kB / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.2883, allocations: 0 / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005887/0.2889, allocations: 217.3 kB / 434 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.289, allocations: 85.05 kB / 434.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.2893, allocations: 284.3 kB / 434.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.2894, allocations: 33.7 kB / 434.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2896, allocations: 240 kB / 434.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.2896, allocations: 67.44 kB / 434.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2897, allocations: 69.97 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2899, allocations: 330.8 kB / 435.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2901, allocations: 64.62 kB / 435.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.2903, allocations: 202.4 kB / 435.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.2908, allocations: 300.8 kB / 435.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2908, allocations: 256 / 435.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005561/0.2914, allocations: 308.6 kB / 436 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2914, allocations: 15.27 kB / 436 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2914, allocations: 15.88 kB / 436 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.2914, allocations: 11.94 kB / 436 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.2917, allocations: 71.91 kB / 436.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.2917, allocations: 16.05 kB / 436.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.2919, allocations: 35.73 kB / 436.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.292, allocations: 24.12 kB / 436.2 MB, free: 0.6094 MB / 334.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.0001724/0.2921, allocations: 157.7 kB / 436.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.2922, allocations: 31.81 kB / 436.4 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.2923, allocations: 25.73 kB / 436.4 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.2923, allocations: 7.938 kB / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2923, allocations: 0 / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2923, allocations: 3.984 kB / 436.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.293, allocations: 494.2 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.293, allocations: 3.938 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2933, allocations: 43.97 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2933, allocations: 3.938 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2933, allocations: 11.94 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2933, allocations: 0 / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2933, allocations: 0 / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.2939, allocations: 419.4 kB / 437.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2939, allocations: 31.77 kB / 437.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.294, allocations: 4 kB / 437.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2942, allocations: 8 kB / 437.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2942, allocations: 27.97 kB / 437.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2943, allocations: 4 kB / 437.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2945, allocations: 199.1 kB / 437.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 437.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.2949, allocations: 79.78 kB / 437.7 MB, free: 15 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.0009675/0.2959, allocations: 0.9701 MB / 438.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.2963, allocations: 183.8 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2963, allocations: 0 / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2964, allocations: 68.97 kB / 438.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2969, allocations: 33.03 kB / 438.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.3012, allocations: 3.119 MB / 442.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3017, allocations: 0.7753 MB / 442.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3019, allocations: 34.95 kB / 442.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.302, allocations: 103.4 kB / 443 MB, free: 9.457 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.302, allocations: 0 / 443 MB, free: 9.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3399, allocations: 5.808 MB / 448.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.68, allocations: 14.17 kB / 448.8 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.422555063152686]