Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 55.92 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 53.36 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004573/0.2389, allocations: 3.344 MB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2412, allocations: 1.421 MB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2413, allocations: 11.94 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.2417, allocations: 151 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009466/0.2427, allocations: 429.7 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.243, allocations: 187.5 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.2436, allocations: 458.1 kB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2438, allocations: 113.8 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2441, allocations: 179.2 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.2444, allocations: 203.2 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.2444, allocations: 36 kB / 438.4 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2447, allocations: 171.9 kB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.2448, allocations: 87.62 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.245, allocations: 191.1 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.2456, allocations: 0.556 MB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2456, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2456, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2456, allocations: 0 / 439.4 MB, free: 15.35 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.00134/0.247, allocations: 0.6806 MB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.247, allocations: 12.03 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.247, allocations: 13.19 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.2471, allocations: 66.72 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007038/0.2478, allocations: 120.6 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.2483, allocations: 259.7 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2483, allocations: 21.38 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.2483, allocations: 40.38 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2489, allocations: 353.1 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2489, allocations: 8 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.249, allocations: 12 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.249, allocations: 8 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.2494, allocations: 245.9 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.2514, allocations: 1.273 MB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2518, allocations: 193.1 kB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.252, allocations: 83.78 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007205/0.2527, allocations: 0.5689 MB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2527, allocations: 42.5 kB / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2527, allocations: 112 / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005481/0.2533, allocations: 225.2 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.2533, allocations: 77.11 kB / 443.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2537, allocations: 292.3 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2537, allocations: 33.7 kB / 444 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2538, allocations: 240 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.2539, allocations: 71.45 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.254, allocations: 61.98 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2541, allocations: 338.8 kB / 444.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.2543, allocations: 68.61 kB / 444.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2545, allocations: 202.3 kB / 445 MB, free: 9.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.255, allocations: 295.8 kB / 445.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.255, allocations: 0 / 445.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005361/0.2555, allocations: 321 kB / 445.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2555, allocations: 8 kB / 445.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2555, allocations: 4 kB / 445.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2555, allocations: 7.938 kB / 445.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.2558, allocations: 84.45 kB / 445.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2558, allocations: 11.94 kB / 445.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.256, allocations: 35.78 kB / 445.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2561, allocations: 19.98 kB / 445.7 MB, free: 8.625 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.0001593/0.2562, allocations: 149.7 kB / 445.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.2563, allocations: 31.81 kB / 445.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.2563, allocations: 33.72 kB / 445.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2563, allocations: 4 kB / 445.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2564, allocations: 0 / 445.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2564, allocations: 4 kB / 445.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006851/0.257, allocations: 490.4 kB / 446.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.257, allocations: 4.062 kB / 446.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.2573, allocations: 47.91 kB / 446.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2573, allocations: 0 / 446.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.2573, allocations: 8 kB / 446.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2573, allocations: 4.016 kB / 446.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2573, allocations: 4 kB / 446.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.2579, allocations: 426.4 kB / 446.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.258, allocations: 27.78 kB / 446.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.258, allocations: 4.062 kB / 446.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2582, allocations: 19.92 kB / 447 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.2582, allocations: 23.91 kB / 447 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2583, allocations: 4 kB / 447 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2585, allocations: 199.1 kB / 447.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2585, allocations: 0 / 447.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.2589, allocations: 91.72 kB / 447.3 MB, free: 7.004 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.0009408/0.2598, allocations: 0.9648 MB / 448.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.2602, allocations: 176.7 kB / 448.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2602, allocations: 0 / 448.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2603, allocations: 76.03 kB / 448.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2607, allocations: 24.98 kB / 448.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.2645, allocations: 3.127 MB / 451.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2649, allocations: 0.7714 MB / 452.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.265, allocations: 38.95 kB / 452.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.2652, allocations: 107.4 kB / 452.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2652, allocations: 0 / 452.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2942, allocations: 5.906 MB / 458.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.19, allocations: 14.33 kB / 458.5 MB, free: 11.71 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.956008475041017]