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.001467/0.001467, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001799/0.001799, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 7.805 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2693, allocations: 53.41 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004889/0.2741, allocations: 3.057 MB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2768, allocations: 1.304 MB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.277, allocations: 11.94 kB / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.2774, allocations: 139.1 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.2785, allocations: 413.7 kB / 436.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2789, allocations: 178.8 kB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000679/0.2796, allocations: 466 kB / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.2799, allocations: 112.7 kB / 437.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.2801, allocations: 179.3 kB / 437.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.2804, allocations: 203.1 kB / 437.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2805, allocations: 32 kB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.2808, allocations: 167.9 kB / 438.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.2809, allocations: 83.7 kB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.2811, allocations: 167.2 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.2818, allocations: 0.5564 MB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2818, allocations: 0 / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2818, allocations: 0 / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2818, allocations: 0 / 438.9 MB, free: 15.44 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.001548/0.2834, allocations: 0.6805 MB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2834, allocations: 8.031 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.571e-05/0.2835, allocations: 9.188 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.546e-05/0.2835, allocations: 74.72 kB / 439.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.2843, allocations: 108.6 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.2848, allocations: 259.9 kB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2849, allocations: 33.38 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.2849, allocations: 32.38 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.2856, allocations: 408.5 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2856, allocations: 0 / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.2857, allocations: 16 kB / 440.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2857, allocations: 8 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.2862, allocations: 245.9 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.2884, allocations: 1.179 MB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.2889, allocations: 181.2 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.289, allocations: 85.97 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009423/0.29, allocations: 0.5611 MB / 442.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.29, allocations: 34.56 kB / 442.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.29, allocations: 0 / 442.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006073/0.2906, allocations: 229.5 kB / 443 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.2907, allocations: 81.11 kB / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.291, allocations: 292.3 kB / 443.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.291, allocations: 29.7 kB / 443.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.2912, allocations: 248 kB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.2913, allocations: 67.45 kB / 443.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2914, allocations: 61.98 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2916, allocations: 334.8 kB / 444.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.2917, allocations: 68.61 kB / 444.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.292, allocations: 210.3 kB / 444.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.2924, allocations: 284.9 kB / 444.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2924, allocations: 0 / 444.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006355/0.2931, allocations: 325 kB / 445 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2931, allocations: 10.81 kB / 445 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2931, allocations: 4 kB / 445 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.2931, allocations: 11.94 kB / 445 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2935, allocations: 76.42 kB / 445.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.2935, allocations: 19.88 kB / 445.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2937, allocations: 35.78 kB / 445.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2937, allocations: 19.92 kB / 445.2 MB, free: 8.766 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.0001805/0.2939, allocations: 153.7 kB / 445.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.294, allocations: 31.81 kB / 445.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.294, allocations: 33.72 kB / 445.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.294, allocations: 0 / 445.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2941, allocations: 0 / 445.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2941, allocations: 4 kB / 445.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.2949, allocations: 470.2 kB / 445.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2949, allocations: 4 kB / 445.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.2951, allocations: 43.91 kB / 445.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2951, allocations: 4 kB / 445.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2951, allocations: 4.312 kB / 445.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2951, allocations: 0 / 445.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2951, allocations: 8 kB / 445.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.2957, allocations: 430 kB / 446.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.2958, allocations: 35.77 kB / 446.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.2958, allocations: 0 / 446.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.296, allocations: 15.98 kB / 446.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.2961, allocations: 15.98 kB / 446.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2961, allocations: 4 kB / 446.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.2963, allocations: 199.1 kB / 446.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 446.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.2968, allocations: 91.77 kB / 446.7 MB, free: 7.172 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.0009743/0.2978, allocations: 0.9584 MB / 447.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.2982, allocations: 190.9 kB / 447.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2982, allocations: 0 / 447.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2983, allocations: 63.91 kB / 447.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.2987, allocations: 33.53 kB / 447.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3029, allocations: 3.127 MB / 451.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3031, allocations: 172.8 kB / 451.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3032, allocations: 30.97 kB / 451.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3034, allocations: 111.3 kB / 451.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3034, allocations: 0 / 451.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/0.3477, allocations: 5.922 MB / 457.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.01, allocations: 4.062 kB / 457.3 MB, free: 12.48 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: 14.98416705406271]