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.001721/0.001721, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002419/0.002419, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002135/0.002135, allocations: 71.88 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2655, allocations: 53.4 MB / 431.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004895/0.2704, allocations: 3.054 MB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.273, allocations: 1.32 MB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.2732, allocations: 8 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.2736, allocations: 139.1 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2747, allocations: 417 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.2752, allocations: 183.5 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.2758, allocations: 458.1 kB / 436.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.276, allocations: 104.7 kB / 436.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.2763, allocations: 183.2 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.2766, allocations: 175.2 kB / 437.1 MB, free: 492 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.2766, allocations: 36 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.2769, allocations: 163.9 kB / 437.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.277, allocations: 79.64 kB / 437.4 MB, free: 212 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2772, allocations: 159.2 kB / 437.6 MB, free: 52 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.2779, allocations: 0.5604 MB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2779, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2779, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.278, allocations: 0 / 438.1 MB, free: 15.49 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.001444/0.2794, allocations: 0.6805 MB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2794, allocations: 19.92 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.78e-05/0.2795, allocations: 74.72 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.2803, allocations: 112.6 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2808, allocations: 251.9 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2808, allocations: 29.38 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.2809, allocations: 32.38 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.2816, allocations: 416.7 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2816, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.2816, allocations: 16 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2816, allocations: 8 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.2822, allocations: 245.9 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2843, allocations: 1.183 MB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.2847, allocations: 185.2 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.2849, allocations: 73.97 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/0.2856, allocations: 0.5534 MB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2857, allocations: 38.5 kB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.2857, allocations: 0 / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005702/0.2862, allocations: 225.6 kB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.2863, allocations: 77.11 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.2867, allocations: 300.2 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2867, allocations: 25.7 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.2869, allocations: 256 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.2869, allocations: 59.5 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.287, allocations: 69.97 kB / 443 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2872, allocations: 334.8 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.2874, allocations: 64.62 kB / 443.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2877, allocations: 210.3 kB / 443.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.2881, allocations: 284.9 kB / 443.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2881, allocations: 0 / 443.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000568/0.2887, allocations: 320.5 kB / 444.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2887, allocations: 8 kB / 444.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2887, allocations: 4 kB / 444.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2887, allocations: 15.92 kB / 444.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.289, allocations: 75.91 kB / 444.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.289, allocations: 11.94 kB / 444.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2892, allocations: 40.23 kB / 444.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2893, allocations: 16 kB / 444.4 MB, free: 8.828 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.0001665/0.2894, allocations: 153.8 kB / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.2895, allocations: 31.81 kB / 444.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.2896, allocations: 29.78 kB / 444.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2896, allocations: 3.938 kB / 444.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2896, allocations: 0 / 444.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2896, allocations: 11.92 kB / 444.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.2903, allocations: 474.2 kB / 445 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2903, allocations: 11.91 kB / 445.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.2905, allocations: 39.92 kB / 445.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.2906, allocations: 4 kB / 445.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2906, allocations: 7.984 kB / 445.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2906, allocations: 4 kB / 445.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2906, allocations: 0 / 445.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.2912, allocations: 423.4 kB / 445.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.2912, allocations: 31.83 kB / 445.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.2913, allocations: 4 kB / 445.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2915, allocations: 11.98 kB / 445.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.2915, allocations: 23.91 kB / 445.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2916, allocations: 4 kB / 445.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.2918, allocations: 199.1 kB / 445.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2918, allocations: 0 / 445.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.2922, allocations: 83.84 kB / 445.9 MB, free: 7.227 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.0009714/0.2932, allocations: 0.9714 MB / 446.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.2936, allocations: 180 kB / 447 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2936, allocations: 0 / 447 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2938, allocations: 67.84 kB / 447.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2942, allocations: 32.73 kB / 447.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.2985, allocations: 3.127 MB / 450.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2987, allocations: 168.8 kB / 450.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.2988, allocations: 38.94 kB / 450.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.299, allocations: 107.4 kB / 450.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.299, allocations: 0 / 450.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3373, allocations: 6.19 MB / 456.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.32, allocations: 4.062 kB / 456.8 MB, free: 12.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/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: 16.694591837003827]