Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001548/0.001548, allocations: 115.2 kB / 21.18 MB, free: 0.5898 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.001354/0.001354, allocations: 213.5 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.5 MB / 258.1 MB, free: 8.137 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-beta.om/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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2148, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008295/0.2231, allocations: 6.692 MB / 438.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004448/0.2276, allocations: 2.281 MB / 441 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008877/0.2285, allocations: 43.81 kB / 441.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2296, allocations: 385.5 kB / 441.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.2321, allocations: 0.8434 MB / 442.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2331, allocations: 363.2 kB / 442.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.2376, allocations: 3.198 MB / 445.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.2395, allocations: 1.099 MB / 446.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.2414, allocations: 1.3 MB / 448.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.2442, allocations: 1.654 MB / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007688/0.245, allocations: 296 kB / 450.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.2463, allocations: 435.8 kB / 450.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.2475, allocations: 0.849 MB / 451.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.2493, allocations: 1.47 MB / 452.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004291/0.2536, allocations: 4.114 MB / 457 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2536, allocations: 4 kB / 457 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2536, allocations: 4 kB / 457.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.271e-05/0.2537, allocations: 0 / 457.1 MB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008063/0.2617, allocations: 3.546 MB / 460.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2618, allocations: 8.031 kB / 460.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.266, allocations: 0.7524 MB / 461.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.2695, allocations: 1.739 MB / 463.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2697, allocations: 176.9 kB / 463.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.2701, allocations: 236.1 kB / 463.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.2756, allocations: 3.199 MB / 466.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.2756, allocations: 0 / 466.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.2758, allocations: 92 kB / 466.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-05/0.2759, allocations: 73.92 kB / 466.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/0.2808, allocations: 2.87 MB / 469.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.2963, allocations: 9.175 MB / 478.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005281/0.3015, allocations: 4.314 MB / 483.2 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.3028, allocations: 0.7637 MB / 484 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/0.3077, allocations: 3.166 MB / 487.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.3078, allocations: 46.83 kB / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.234e-06/0.3078, allocations: 0 / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.00825/0.316, allocations: 4.283 MB / 491.5 MB, free: 10.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.3161, allocations: 111.2 kB / 491.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3183, allocations: 1.621 MB / 493.2 MB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3184, allocations: 45.7 kB / 493.3 MB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008603/0.3193, allocations: 1.145 MB / 494.4 MB, free: 7.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.3196, allocations: 368.9 kB / 494.8 MB, free: 6.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.32, allocations: 242.8 kB / 495 MB, free: 6.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3201, allocations: 361.9 kB / 495.3 MB, free: 6.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3212, allocations: 0.6349 MB / 496 MB, free: 5.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.3226, allocations: 1.011 MB / 497 MB, free: 4.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.325, allocations: 1.691 MB / 498.7 MB, free: 2.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.325, allocations: 4 kB / 498.7 MB, free: 2.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003483/0.3285, allocations: 1.961 MB / 0.4889 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3285, allocations: 8 kB / 0.4889 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3285, allocations: 15.94 kB / 0.4889 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.3289, allocations: 121.6 kB / 0.4891 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.3302, allocations: 335.7 kB / 0.4894 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.3334, allocations: 3.431 MB / 0.4927 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3345, allocations: 99.73 kB / 0.4928 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3346, allocations: 63.98 kB / 0.4929 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001285/0.3359, allocations: 0.8292 MB / 0.4937 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.3362, allocations: 159 kB / 0.4938 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.3387, allocations: 1.393 MB / 0.4952 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3387, allocations: 12 kB / 0.4952 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3387, allocations: 7.938 kB / 0.4952 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3387, allocations: 3.984 kB / 0.4952 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.3427, allocations: 2.446 MB / 0.4976 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3427, allocations: 4 kB / 0.4976 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.3436, allocations: 195.8 kB / 0.4978 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006416/0.3442, allocations: 250.3 kB / 0.498 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.3443, allocations: 31.98 kB / 0.4981 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.3505, allocations: 6.266 MB / 0.5042 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3505, allocations: 0 / 0.5042 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.3547, allocations: 2.558 MB / 0.5067 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.3553, allocations: 256 kB / 0.5069 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.3554, allocations: 31.94 kB / 0.507 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.3563, allocations: 91.89 kB / 0.5071 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.3565, allocations: 100.2 kB / 0.5071 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.3566, allocations: 31.98 kB / 0.5072 GB, free: 13.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.3582, allocations: 1.132 MB / 0.5083 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 0.5083 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001537/0.3598, allocations: 444 kB / 0.5087 GB, free: 11.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003188/0.3601, allocations: 163 kB / 0.5089 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.3631, allocations: 1.679 MB / 0.5105 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3631, allocations: 4 kB / 0.5105 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.365, allocations: 1.149 MB / 0.5116 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.3665, allocations: 300 kB / 0.5119 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/0.374, allocations: 4.714 MB / 0.5165 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.3759, allocations: 2.042 MB / 0.5185 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.3764, allocations: 119.4 kB / 0.5186 GB, free: 1.258 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3764, allocations: 0 / 0.5186 GB, free: 1.258 MB / 430.1 MB Notification: Performance of Templates: time 0.2393/0.6157, allocations: 57.7 MB / 0.575 GB, free: 69.42 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 10.19533552788198]