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.0008085/0.0008085, allocations: 87.62 kB / 21.44 MB, free: 3.125 MB / 18.57 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.004783/0.004783, allocations: 159.6 kB / 24.7 MB, free: 8.902 MB / 18.57 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 0.831/0.831, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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: 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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.69e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006643/0.00667, allocations: 8.724 MB / 334.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.01197, allocations: 3.256 MB / 337.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.01348, allocations: 79.62 kB / 337.9 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.01776, allocations: 3.798 MB / 341.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.0213, allocations: 1.538 MB / 343.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.02304, allocations: 1.034 MB / 344.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007841/0.03088, allocations: 9.629 MB / 353.9 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/0.04694, allocations: 12.87 MB / 366.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.05697, allocations: 7.516 MB / 374.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.06435, allocations: 5.509 MB / 379.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003177/0.06753, allocations: 1.398 MB / 381.2 MB, free: 7.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.07202, allocations: 1.648 MB / 382.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003656/0.07568, allocations: 2.981 MB / 385.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006389/0.08207, allocations: 3.673 MB / 389.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.09758, allocations: 19.18 MB / 408.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09758, allocations: 4 kB / 408.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09758, allocations: 0 / 408.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004867/0.09807, allocations: 0 / 408.7 MB, free: 12.25 MB / 378.7 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.02215/0.1202, allocations: 12.31 MB / 421 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1203, allocations: 8.031 kB / 421 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02291/0.1432, allocations: 8.417 MB / 429.4 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009708/0.1529, allocations: 6.027 MB / 435.4 MB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.1533, allocations: 0.6584 MB / 436.1 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002741/0.156, allocations: 0.8671 MB / 437 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2984/0.4544, allocations: 16.28 MB / 453.2 MB, free: 95.47 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.4547, allocations: 9.562 kB / 453.2 MB, free: 95.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/0.4566, allocations: 369.2 kB / 453.6 MB, free: 95.47 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006944/0.4573, allocations: 0.5555 MB / 454.2 MB, free: 95.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.4804, allocations: 15.69 MB / 469.9 MB, free: 90.63 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04924/0.5296, allocations: 41.75 MB / 0.4996 GB, free: 52.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008097/0.5377, allocations: 8.451 MB / 0.5079 GB, free: 44.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.5407, allocations: 3.245 MB / 0.511 GB, free: 41.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.541, allocations: 123.3 kB / 0.5112 GB, free: 41.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.541, allocations: 78.56 kB / 0.5112 GB, free: 40.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 6.432e-06/0.541, allocations: 0 / 0.5112 GB, free: 40.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01258/0.5536, allocations: 11.1 MB / 0.5221 GB, free: 29.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.5537, allocations: 125.1 kB / 0.5222 GB, free: 29.72 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.5575, allocations: 3.967 MB / 0.5261 GB, free: 25.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007618/0.5583, allocations: 105.6 kB / 0.5262 GB, free: 25.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.5595, allocations: 4.015 MB / 0.5301 GB, free: 22.13 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.5607, allocations: 1.665 MB / 0.5317 GB, free: 20.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.5622, allocations: 1.477 MB / 0.5332 GB, free: 19 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.5622, allocations: 305.1 kB / 0.5334 GB, free: 18.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/0.5656, allocations: 3.695 MB / 0.5371 GB, free: 15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.57, allocations: 6.531 MB / 0.5434 GB, free: 7.172 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009157/0.5792, allocations: 10.85 MB / 0.554 GB, free: 10.98 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/0.5793, allocations: 28 kB / 0.5541 GB, free: 10.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01864/0.5979, allocations: 11.96 MB / 0.5657 GB, free: 14.92 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.598, allocations: 44 kB / 0.5658 GB, free: 14.88 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/0.5982, allocations: 96 kB / 0.5659 GB, free: 14.79 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/0.6018, allocations: 1.628 MB / 0.5675 GB, free: 13.14 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/0.6061, allocations: 1.665 MB / 0.5691 GB, free: 11.47 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.6242, allocations: 16.72 MB / 0.5854 GB, free: 10.14 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/0.6305, allocations: 0.9586 MB / 0.5864 GB, free: 9.176 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/0.6312, allocations: 367.9 kB / 0.5867 GB, free: 8.816 MB / 458.8 MB 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.006329/0.6375, allocations: 3.768 MB / 0.5904 GB, free: 5.035 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/0.6381, allocations: 405.4 kB / 0.5908 GB, free: 4.637 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/0.6474, allocations: 8.522 MB / 0.5991 GB, free: 12.03 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.6474, allocations: 48 kB / 0.5991 GB, free: 11.98 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.6475, allocations: 12.12 kB / 0.5991 GB, free: 11.97 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.6475, allocations: 31.83 kB / 0.5992 GB, free: 11.94 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.6638, allocations: 14.88 MB / 0.6137 GB, free: 13.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6638, allocations: 4 kB / 0.6137 GB, free: 13.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.6655, allocations: 0.8698 MB / 0.6146 GB, free: 12.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.668, allocations: 1.511 MB / 0.616 GB, free: 10.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/0.6682, allocations: 116 kB / 0.6162 GB, free: 10.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1839/0.8521, allocations: 16.51 MB / 0.6323 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8521, allocations: 0 / 0.6323 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.8631, allocations: 12.24 MB / 0.6442 GB, free: 152.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.8645, allocations: 1.081 MB / 0.6453 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.8648, allocations: 82.59 kB / 0.6454 GB, free: 151.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8659, allocations: 296.1 kB / 0.6456 GB, free: 151.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/0.8663, allocations: 349.3 kB / 0.646 GB, free: 151.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.8665, allocations: 141.9 kB / 0.6461 GB, free: 151.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002157/0.8687, allocations: 2.546 MB / 0.6486 GB, free: 150.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8687, allocations: 0 / 0.6486 GB, free: 150.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004562/0.8732, allocations: 2.403 MB / 0.6509 GB, free: 150.3 MB / 490.8 MB 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.0004431/0.8737, allocations: 270.3 kB / 0.6512 GB, free: 150.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008803/0.8825, allocations: 9.016 MB / 0.66 GB, free: 144.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8825, allocations: 2 kB / 0.66 GB, free: 144.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003436/0.8859, allocations: 4.174 MB / 0.6641 GB, free: 140.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.8881, allocations: 0.7178 MB / 0.6648 GB, free: 140.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.9058, allocations: 16.95 MB / 0.6813 GB, free: 125 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003532/0.9093, allocations: 5.475 MB / 0.6867 GB, free: 120.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.9108, allocations: 472.3 kB / 0.6871 GB, free: 119.8 MB / 490.8 MB Notification: Performance of SimCode: time 1.793e-06/0.9108, allocations: 0 / 0.6871 GB, free: 119.8 MB / 490.8 MB Notification: Performance of Templates: time 0.4933/1.404, allocations: 422.6 MB / 1.1 GB, free: 77.79 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.510690632276237]