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.001467/0.001467, allocations: 101.5 kB / 21.22 MB, free: 0.6211 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.001503/0.001503, allocations: 192.8 kB / 24.49 MB, free: 3.934 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.356/1.356, allocations: 225.7 MB / 253.3 MB, free: 12.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 43.94 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2506, allocations: 52.18 MB / 423.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00443/0.2551, allocations: 3.052 MB / 426.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2571, allocations: 1.187 MB / 427.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2573, allocations: 11.94 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.2577, allocations: 147.1 kB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009748/0.2586, allocations: 441.6 kB / 428.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.259, allocations: 167.5 kB / 428.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.2596, allocations: 450 kB / 428.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2598, allocations: 112.7 kB / 428.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.2599, allocations: 159.4 kB / 429 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.2602, allocations: 207.1 kB / 429.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.2603, allocations: 36 kB / 429.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2605, allocations: 155.9 kB / 429.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.2606, allocations: 79.69 kB / 429.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2608, allocations: 171.2 kB / 429.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.2614, allocations: 0.5331 MB / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2614, allocations: 0 / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2614, allocations: 0 / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2614, allocations: 0 / 430.2 MB, free: 7.773 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.001383/0.2628, allocations: 0.6767 MB / 430.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2629, allocations: 16.03 kB / 430.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.73e-05/0.2629, allocations: 9.188 kB / 430.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.263, allocations: 66.72 kB / 431 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.2636, allocations: 96.64 kB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.264, allocations: 250.8 kB / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.264, allocations: 25.38 kB / 431.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.2641, allocations: 36.38 kB / 431.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.2648, allocations: 412.5 kB / 431.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2648, allocations: 0 / 431.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2648, allocations: 15.94 kB / 431.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.2649, allocations: 12 kB / 431.8 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.2653, allocations: 241.9 kB / 432 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2673, allocations: 1.175 MB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.2677, allocations: 183.4 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2679, allocations: 81.69 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.2686, allocations: 0.5302 MB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2686, allocations: 34.56 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2686, allocations: 0 / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005631/0.2692, allocations: 229.3 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.2692, allocations: 81.11 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.2695, allocations: 296.2 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.2696, allocations: 25.7 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2697, allocations: 236.1 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.2698, allocations: 75.41 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2699, allocations: 65.98 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2701, allocations: 334.8 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2702, allocations: 68.61 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.2705, allocations: 205.4 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.2709, allocations: 292.9 kB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2709, allocations: 0 / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005446/0.2714, allocations: 313.5 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2715, allocations: 4 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2715, allocations: 8 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2715, allocations: 7.938 kB / 436.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.2718, allocations: 79.89 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.2718, allocations: 11.88 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.272, allocations: 47.73 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.272, allocations: 16.11 kB / 436.4 MB, free: 1.168 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.0001518/0.2722, allocations: 157.7 kB / 436.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.2722, allocations: 27.81 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.2723, allocations: 33.67 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2723, allocations: 4 kB / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2723, allocations: 0 / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2723, allocations: 0 / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.273, allocations: 474.2 kB / 437.1 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.273, allocations: 0 / 437.1 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.2732, allocations: 47.94 kB / 437.1 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2732, allocations: 4 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2732, allocations: 320 / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2732, allocations: 4 kB / 437.1 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2732, allocations: 4 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.2738, allocations: 423.2 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2738, allocations: 31.83 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2739, allocations: 0 / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2741, allocations: 24.05 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2741, allocations: 7.984 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2741, allocations: 4 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.2743, allocations: 199.1 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2743, allocations: 0 / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.2747, allocations: 87.78 kB / 437.9 MB, free: 15.59 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.0008903/0.2756, allocations: 0.9771 MB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.276, allocations: 188.2 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.276, allocations: 0 / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.2761, allocations: 63.91 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.2765, allocations: 33.11 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.2803, allocations: 3.116 MB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2805, allocations: 176.8 kB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.2806, allocations: 30.97 kB / 442.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2807, allocations: 107.4 kB / 442.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2807, allocations: 0 / 442.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.3072, allocations: 5.84 MB / 448.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 14.5 kB / 448.4 MB, free: 4.996 MB / 350.1 MB " [Timeout remaining time 649] (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.027030034922063]