Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001337/0.001337, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001321/0.001321, allocations: 156.6 kB / 24.48 MB, free: 3.465 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.371/1.371, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.97 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08341, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.011/0.09441, allocations: 8.701 MB / 380.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006156/0.1006, allocations: 3.194 MB / 383.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.1013, allocations: 87.56 kB / 383.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008461/0.1098, allocations: 3.788 MB / 387.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.1132, allocations: 1.527 MB / 388.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.1153, allocations: 1.008 MB / 389.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009544/0.1249, allocations: 9.228 MB / 399.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/0.1423, allocations: 12.83 MB / 411.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.1483, allocations: 5.171 MB / 417.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008572/0.1569, allocations: 6.044 MB / 423.2 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002086/0.159, allocations: 1.398 MB / 424.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.1619, allocations: 1.621 MB / 426.2 MB, free: 476 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.1647, allocations: 2.927 MB / 429.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00514/0.1698, allocations: 4.265 MB / 433.4 MB, free: 9.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.1879, allocations: 18.98 MB / 452.3 MB, free: 6.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1879, allocations: 0 / 452.3 MB, free: 6.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1879, allocations: 0 / 452.3 MB, free: 6.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002749/0.1881, allocations: 0 / 452.3 MB, free: 6.211 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.03093/0.2191, allocations: 12.38 MB / 464.7 MB, free: 9.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2191, allocations: 8.922 kB / 464.7 MB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04852/0.2676, allocations: 8.542 MB / 473.3 MB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3279/0.5956, allocations: 6.008 MB / 479.3 MB, free: 75.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/0.5962, allocations: 0.6586 MB / 479.9 MB, free: 75.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.5984, allocations: 0.8676 MB / 480.8 MB, free: 74.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.6231, allocations: 16.24 MB / 497 MB, free: 68.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/0.6233, allocations: 11.73 kB / 497.1 MB, free: 68.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009103/0.6242, allocations: 375.8 kB / 497.4 MB, free: 68.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.6246, allocations: 0.5515 MB / 498 MB, free: 68.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02128/0.6459, allocations: 15.65 MB / 0.5016 GB, free: 53.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05304/0.6989, allocations: 41.66 MB / 0.5423 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/0.7114, allocations: 8.438 MB / 0.5505 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.715, allocations: 3.237 MB / 0.5537 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.7152, allocations: 91.94 kB / 0.5538 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.779e-05/0.7153, allocations: 88.19 kB / 0.5538 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.056e-06/0.7153, allocations: 0 / 0.5538 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02421/0.7395, allocations: 11.06 MB / 0.5646 GB, free: 4.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.7397, allocations: 125.1 kB / 0.5648 GB, free: 4.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005928/0.7456, allocations: 3.974 MB / 0.5686 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.7459, allocations: 101.7 kB / 0.5687 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00289/0.7487, allocations: 4.034 MB / 0.5727 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.7502, allocations: 1.692 MB / 0.5743 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.7524, allocations: 1.473 MB / 0.5758 GB, free: 9.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7525, allocations: 301.1 kB / 0.5761 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005866/0.7584, allocations: 3.684 MB / 0.5797 GB, free: 5.637 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008456/0.7669, allocations: 6.527 MB / 0.586 GB, free: 13.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/0.7815, allocations: 10.83 MB / 0.5966 GB, free: 1.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.287e-05/0.7815, allocations: 28 kB / 0.5966 GB, free: 1.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02111/0.8026, allocations: 11.92 MB / 0.6083 GB, free: 5.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.8027, allocations: 44 kB / 0.6083 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.8028, allocations: 92 kB / 0.6084 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005198/0.808, allocations: 1.625 MB / 0.61 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/0.8137, allocations: 1.665 MB / 0.6116 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.8348, allocations: 16.72 MB / 0.6279 GB, free: 0.8555 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/0.8399, allocations: 0.9627 MB / 0.6289 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/0.8406, allocations: 364 kB / 0.6292 GB, free: 15.53 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.005533/0.8461, allocations: 3.762 MB / 0.6329 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/0.8468, allocations: 413.3 kB / 0.6333 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.8626, allocations: 8.518 MB / 0.6416 GB, free: 2.742 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/0.8627, allocations: 51.94 kB / 0.6417 GB, free: 2.691 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.8627, allocations: 12 kB / 0.6417 GB, free: 2.68 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-05/0.8627, allocations: 27.84 kB / 0.6417 GB, free: 2.652 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/0.8899, allocations: 14.84 MB / 0.6562 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.8899, allocations: 11.92 kB / 0.6562 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/0.8936, allocations: 0.8623 MB / 0.6571 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005235/0.8989, allocations: 1.518 MB / 0.6585 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003338/0.8992, allocations: 104 kB / 0.6586 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/0.9206, allocations: 16.51 MB / 0.6748 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9207, allocations: 7.938 kB / 0.6748 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2049/1.126, allocations: 12.2 MB / 0.6867 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.128, allocations: 1.086 MB / 0.6877 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/1.128, allocations: 86.25 kB / 0.6878 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.131, allocations: 301.1 kB / 0.6881 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00059/1.131, allocations: 339.1 kB / 0.6884 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.131, allocations: 134.7 kB / 0.6886 GB, free: 177.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002759/1.134, allocations: 2.544 MB / 0.691 GB, free: 176.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/1.134, allocations: 0 / 0.691 GB, free: 176.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005246/1.139, allocations: 2.405 MB / 0.6934 GB, free: 175.9 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.0004212/1.14, allocations: 265.3 kB / 0.6936 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.15, allocations: 8.993 MB / 0.7024 GB, free: 172.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.15, allocations: 3.938 kB / 0.7024 GB, free: 172.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/1.156, allocations: 4.171 MB / 0.7065 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/1.158, allocations: 0.7163 MB / 0.7072 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.178, allocations: 17.18 MB / 0.724 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004413/1.182, allocations: 5.587 MB / 0.7294 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005894/1.188, allocations: 3.305 MB / 0.7327 GB, free: 150.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.189, allocations: 367 kB / 0.733 GB, free: 149.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/1.189, allocations: 0 / 0.733 GB, free: 149.9 MB / 0.545 GB Notification: Performance of Templates: time 0.08407/1.273, allocations: 61.35 MB / 0.7929 GB, free: 89.68 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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: 7.509095289977267]