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.00134/0.00134, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001456/0.001456, allocations: 214 kB / 23.74 MB, free: 4.66 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002125/0.002125, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2534, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004992/0.2584, allocations: 3.335 MB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.2609, allocations: 1.433 MB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2611, allocations: 11.94 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.2615, allocations: 147 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2625, allocations: 429.7 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.2629, allocations: 191.4 kB / 436.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.2636, allocations: 450.2 kB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2638, allocations: 124.6 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.264, allocations: 175.3 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.2643, allocations: 195.2 kB / 437.6 MB, free: 212 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.2643, allocations: 32 kB / 437.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.2647, allocations: 179.8 kB / 437.8 MB, free: 0 / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.2648, allocations: 79.77 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.265, allocations: 195 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.2657, allocations: 0.5606 MB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2657, allocations: 0 / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2657, allocations: 0 / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2657, allocations: 0 / 438.7 MB, free: 15.17 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.001404/0.2671, allocations: 0.6767 MB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2672, allocations: 12.03 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.2672, allocations: 70.72 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.2679, allocations: 116.6 kB / 439.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2685, allocations: 255.9 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2685, allocations: 21.38 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.2685, allocations: 40.38 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.2692, allocations: 365.2 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2692, allocations: 0 / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2692, allocations: 12 kB / 440.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2692, allocations: 8 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2697, allocations: 245.9 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.2718, allocations: 1.277 MB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.2722, allocations: 193 kB / 441.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2724, allocations: 73.97 kB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007474/0.2731, allocations: 0.5805 MB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2731, allocations: 34.56 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2731, allocations: 0 / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005396/0.2737, allocations: 229.4 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2737, allocations: 81.11 kB / 442.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.274, allocations: 288.3 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2741, allocations: 29.7 kB / 443.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.2742, allocations: 244 kB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.2743, allocations: 63.44 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.2744, allocations: 65.97 kB / 443.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2746, allocations: 338.8 kB / 443.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2747, allocations: 64.62 kB / 444 MB, free: 9.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.275, allocations: 206.3 kB / 444.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.2754, allocations: 300.4 kB / 444.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.2754, allocations: 0 / 444.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005379/0.2759, allocations: 321.5 kB / 444.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.276, allocations: 10.66 kB / 444.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.276, allocations: 8 kB / 444.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.276, allocations: 11.94 kB / 444.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.2763, allocations: 75.89 kB / 444.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2763, allocations: 11.94 kB / 444.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2765, allocations: 35.77 kB / 444.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2765, allocations: 16 kB / 445 MB, free: 8.465 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.0001516/0.2767, allocations: 153.7 kB / 445.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.2767, allocations: 35.81 kB / 445.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.2768, allocations: 25.78 kB / 445.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2768, allocations: 7.938 kB / 445.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2768, allocations: 0 / 445.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2768, allocations: 3.984 kB / 445.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.2775, allocations: 486.2 kB / 445.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2775, allocations: 4.25 kB / 445.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.2778, allocations: 55.94 kB / 445.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2778, allocations: 4 kB / 445.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2778, allocations: 4 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2778, allocations: 0 / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2778, allocations: 0 / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.2783, allocations: 430 kB / 446.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2784, allocations: 35.7 kB / 446.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2784, allocations: 8 kB / 446.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2786, allocations: 8 kB / 446.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2787, allocations: 19.91 kB / 446.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2787, allocations: 4 kB / 446.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.2789, allocations: 203.1 kB / 446.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2789, allocations: 4 kB / 446.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004197/0.2793, allocations: 79.83 kB / 446.5 MB, free: 6.848 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.0009147/0.2802, allocations: 0.97 MB / 447.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.2806, allocations: 176 kB / 447.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2806, allocations: 0 / 447.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2808, allocations: 67.91 kB / 447.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2812, allocations: 32.53 kB / 447.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.2852, allocations: 3.132 MB / 450.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.2856, allocations: 0.7791 MB / 451.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2857, allocations: 34.95 kB / 451.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.2859, allocations: 111.4 kB / 451.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2859, allocations: 0 / 451.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.3259, allocations: 5.87 MB / 457.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.76, allocations: 7.234 kB / 457.7 MB, free: 11.54 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.4361475140322]