Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001202/0.001202, 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.001315/0.001315, 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.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 56.06 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2632, allocations: 53.36 MB / 431.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01129/0.2745, allocations: 10.07 MB / 442 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.2806, allocations: 3.427 MB / 445.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.2815, allocations: 79.62 kB / 445.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00788/0.2893, allocations: 3.886 MB / 449.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.293, allocations: 1.567 MB / 451 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.2951, allocations: 1.083 MB / 452 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3056, allocations: 9.345 MB / 461.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.3242, allocations: 12.96 MB / 474.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007135/0.3313, allocations: 5.179 MB / 479.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009509/0.3408, allocations: 6.157 MB / 485.7 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002292/0.3431, allocations: 1.398 MB / 487.1 MB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.3463, allocations: 1.656 MB / 488.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.349, allocations: 2.938 MB / 491.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007136/0.3561, allocations: 5.44 MB / 497.1 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.3767, allocations: 18.9 MB / 0.5039 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3767, allocations: 4 kB / 0.5039 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3767, allocations: 3.938 kB / 0.5039 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000374/0.3771, allocations: 0 / 0.5039 GB, free: 2.695 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.0348/0.4119, allocations: 12.38 MB / 0.516 GB, free: 6.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4119, allocations: 12.03 kB / 0.516 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002692/0.4122, allocations: 246.4 kB / 0.5163 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00418/0.4164, allocations: 1.328 MB / 0.5176 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04824/0.4646, allocations: 8.421 MB / 0.5258 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.4784, allocations: 6.019 MB / 0.5317 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007499/0.4792, allocations: 0.6623 MB / 0.5323 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/0.4828, allocations: 0.8632 MB / 0.5332 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.383/0.8658, allocations: 16.02 MB / 0.5488 GB, free: 80.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.8659, allocations: 10.69 kB / 0.5488 GB, free: 80.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009041/0.8669, allocations: 370.9 kB / 0.5492 GB, free: 80.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004155/0.8673, allocations: 0.5566 MB / 0.5497 GB, free: 80.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.8879, allocations: 15.77 MB / 0.5651 GB, free: 72.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04942/0.9373, allocations: 46.69 MB / 0.6107 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.9489, allocations: 8.514 MB / 0.619 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.9521, allocations: 3.253 MB / 0.6222 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.9523, allocations: 142.6 kB / 0.6223 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.9524, allocations: 90.56 kB / 0.6224 GB, free: 13.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.911e-06/0.9524, allocations: 0 / 0.6224 GB, free: 13.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01822/0.9706, allocations: 11.1 MB / 0.6333 GB, free: 2.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.9707, allocations: 125.1 kB / 0.6334 GB, free: 2.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.9751, allocations: 3.851 MB / 0.6371 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002767/0.9754, allocations: 101.7 kB / 0.6372 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/0.9782, allocations: 4.044 MB / 0.6412 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.9797, allocations: 1.681 MB / 0.6428 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.9819, allocations: 1.496 MB / 0.6443 GB, free: 7.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.982, allocations: 305.1 kB / 0.6446 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005353/0.9874, allocations: 3.691 MB / 0.6482 GB, free: 3.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/0.9953, allocations: 6.539 MB / 0.6546 GB, free: 12.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.01, allocations: 10.85 MB / 0.6652 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.853e-05/1.01, allocations: 31.94 kB / 0.6652 GB, free: 15.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02149/1.031, allocations: 11.95 MB / 0.6769 GB, free: 3.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/1.031, allocations: 44 kB / 0.6769 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.031, allocations: 99.94 kB / 0.677 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004935/1.036, allocations: 1.621 MB / 0.6786 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.042, allocations: 1.677 MB / 0.6802 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.064, allocations: 17.06 MB / 0.6969 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/1.07, allocations: 0.9702 MB / 0.6978 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007906/1.071, allocations: 368 kB / 0.6982 GB, free: 13.36 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006155/1.077, allocations: 3.761 MB / 0.7019 GB, free: 9.582 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/1.078, allocations: 409.3 kB / 0.7022 GB, free: 9.18 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.093, allocations: 8.526 MB / 0.7106 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/1.093, allocations: 51.94 kB / 0.7106 GB, free: 0.5156 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-05/1.093, allocations: 12 kB / 0.7106 GB, free: 0.5039 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.987e-05/1.093, allocations: 23.91 kB / 0.7107 GB, free: 492 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/1.122, allocations: 16.85 MB / 0.7271 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.122, allocations: 0 / 0.7271 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.126, allocations: 0.8698 MB / 0.728 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004734/1.13, allocations: 1.518 MB / 0.7294 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/1.131, allocations: 108 kB / 0.7295 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2233/1.354, allocations: 16.85 MB / 0.746 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.354, allocations: 15.27 kB / 0.746 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.37, allocations: 12.25 MB / 0.758 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/1.372, allocations: 1.085 MB / 0.759 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/1.372, allocations: 83.22 kB / 0.7591 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.374, allocations: 297.8 kB / 0.7594 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/1.375, allocations: 343.8 kB / 0.7597 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/1.375, allocations: 145.6 kB / 0.7599 GB, free: 171.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003027/1.378, allocations: 2.576 MB / 0.7624 GB, free: 170.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.378, allocations: 0 / 0.7624 GB, free: 170.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006101/1.385, allocations: 2.408 MB / 0.7647 GB, free: 170 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01483/1.399, allocations: 12.98 MB / 0.7774 GB, free: 164.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.41, allocations: 9.019 MB / 0.7862 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.41, allocations: 4 kB / 0.7862 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/1.415, allocations: 4.18 MB / 0.7903 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.418, allocations: 0.7259 MB / 0.791 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06565/1.484, allocations: 61.42 MB / 0.851 GB, free: 87.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004535/1.488, allocations: 6.053 MB / 0.8569 GB, free: 81.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005531/1.494, allocations: 3.251 MB / 0.8601 GB, free: 77.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003139/1.497, allocations: 3.061 MB / 0.8631 GB, free: 74.79 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/1.497, allocations: 0 / 0.8631 GB, free: 74.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6673/2.164, allocations: 133.9 MB / 0.9938 GB, free: 169.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/22.79, allocations: 11.06 kB / 0.9938 GB, free: 169.8 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 33.361374425003305]