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.00137/0.00137, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001477/0.001477, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.44/1.44, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001833/0.001833, allocations: 67.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.112, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005045/0.117, allocations: 3.324 MB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1195, allocations: 1.409 MB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.1198, allocations: 8 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.1202, allocations: 151 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2199/0.3401, allocations: 429.4 kB / 432 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.3406, allocations: 172.1 kB / 432.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.3414, allocations: 473 kB / 432.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.3416, allocations: 110.3 kB / 432.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.3418, allocations: 168.8 kB / 432.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3421, allocations: 206.2 kB / 433.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.3421, allocations: 34.62 kB / 433.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.3425, allocations: 170.5 kB / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3425, allocations: 81.91 kB / 433.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3426, allocations: 197.5 kB / 433.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3432, allocations: 0.5477 MB / 434.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3432, allocations: 1.75 kB / 434.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3432, allocations: 1.781 kB / 434.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3432, allocations: 3.188 kB / 434.1 MB, free: 7.359 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.001222/0.3444, allocations: 0.7595 MB / 434.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3445, allocations: 10.47 kB / 434.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.3445, allocations: 69.97 kB / 434.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.3452, allocations: 119.8 kB / 435.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.3457, allocations: 314.7 kB / 435.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3457, allocations: 27.66 kB / 435.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.3458, allocations: 36.81 kB / 435.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.3463, allocations: 359.7 kB / 435.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3464, allocations: 0 / 435.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3464, allocations: 16.03 kB / 435.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3464, allocations: 8.156 kB / 435.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.3469, allocations: 245.2 kB / 436 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3487, allocations: 1.324 MB / 437.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.3491, allocations: 183.4 kB / 437.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3492, allocations: 84.08 kB / 437.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/0.35, allocations: 1.2 MB / 438.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3501, allocations: 35.58 kB / 438.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.3501, allocations: 0 / 438.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005304/0.3506, allocations: 222 kB / 439.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.3506, allocations: 82.78 kB / 439.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3509, allocations: 288.5 kB / 439.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3509, allocations: 30.83 kB / 439.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3511, allocations: 243.1 kB / 439.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3511, allocations: 66.73 kB / 439.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.3512, allocations: 69.61 kB / 439.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.3512, allocations: 337.3 kB / 440.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3514, allocations: 68.42 kB / 440.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3516, allocations: 197.2 kB / 440.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.352, allocations: 292.1 kB / 440.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.352, allocations: 2.281 kB / 440.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005502/0.3526, allocations: 320.9 kB / 441 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3526, allocations: 6.875 kB / 441 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3526, allocations: 5.219 kB / 441 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.3526, allocations: 8.641 kB / 441 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3529, allocations: 82.48 kB / 441.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3529, allocations: 8.5 kB / 441.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.3531, allocations: 42.77 kB / 441.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.3531, allocations: 13.58 kB / 441.2 MB, free: 2.973 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.0001191/0.3533, allocations: 158.8 kB / 441.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.3533, allocations: 29.8 kB / 441.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.3534, allocations: 30.08 kB / 441.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3534, allocations: 6.188 kB / 441.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3534, allocations: 1.062 kB / 441.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3534, allocations: 2.531 kB / 441.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.354, allocations: 0.5169 MB / 441.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3541, allocations: 8.969 kB / 441.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3543, allocations: 45.11 kB / 442 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3543, allocations: 5.156 kB / 442 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3543, allocations: 2.734 kB / 442 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3543, allocations: 1.062 kB / 442 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3543, allocations: 2.062 kB / 442 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.3548, allocations: 423.7 kB / 442.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3548, allocations: 110.5 kB / 442.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.3549, allocations: 6.141 kB / 442.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3551, allocations: 15.53 kB / 442.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.3551, allocations: 18.17 kB / 442.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3551, allocations: 4.578 kB / 442.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3553, allocations: 200.8 kB / 442.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 1.188 kB / 442.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.3558, allocations: 76.92 kB / 442.8 MB, free: 1.828 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.0007611/0.3565, allocations: 0.9681 MB / 443.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.3569, allocations: 179.9 kB / 444 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3569, allocations: 5.188 kB / 444 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3571, allocations: 62.88 kB / 444 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3575, allocations: 32.17 kB / 444.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.362, allocations: 3.137 MB / 447.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.3625, allocations: 0.774 MB / 448 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3626, allocations: 34.69 kB / 448 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3628, allocations: 109.5 kB / 448.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3628, allocations: 0 / 448.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.4124, allocations: 5.614 MB / 453.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.813, allocations: 12.94 kB / 453.8 MB, free: 13.21 MB / 366.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.774615014903247]