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.001749/0.001749, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 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.002142/0.002142, allocations: 194.4 kB / 24.46 MB, free: 4.016 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.543/1.543, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.001747/0.001747, allocations: 43.92 kB / 371.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2474, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01245/0.2598, allocations: 8.699 MB / 432.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007595/0.2674, allocations: 3.205 MB / 435.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.2693, allocations: 87.56 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009712/0.279, allocations: 3.584 MB / 439.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.2842, allocations: 1.524 MB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.2872, allocations: 1.024 MB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01194/0.2992, allocations: 9.216 MB / 451.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0208/0.32, allocations: 12.83 MB / 464 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008568/0.3285, allocations: 5.171 MB / 469.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.3395, allocations: 6.036 MB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003957/0.3435, allocations: 1.398 MB / 476.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.3486, allocations: 1.617 MB / 478.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004383/0.353, allocations: 2.934 MB / 481.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008457/0.3614, allocations: 4.273 MB / 485.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02405/0.3855, allocations: 18.96 MB / 0.4926 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3855, allocations: 0 / 0.4926 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3855, allocations: 0 / 0.4926 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007363/0.3862, allocations: 0 / 0.4926 GB, free: 13.6 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.03988/0.4261, allocations: 12.38 MB / 0.5047 GB, free: 1.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4262, allocations: 8.031 kB / 0.5047 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04937/0.4755, allocations: 8.542 MB / 0.513 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.4913, allocations: 6.007 MB / 0.5189 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008251/0.4921, allocations: 0.6623 MB / 0.5195 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004198/0.4963, allocations: 0.8671 MB / 0.5204 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04407/0.5404, allocations: 16.24 MB / 0.5362 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004666/0.5409, allocations: 15.89 kB / 0.5362 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003229/0.5441, allocations: 368 kB / 0.5366 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3815/0.9256, allocations: 0.5505 MB / 0.5371 GB, free: 95.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.9516, allocations: 15.65 MB / 0.5524 GB, free: 90.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06168/1.013, allocations: 41.63 MB / 0.5931 GB, free: 49.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.027, allocations: 8.44 MB / 0.6013 GB, free: 41.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/1.031, allocations: 3.234 MB / 0.6045 GB, free: 38.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/1.031, allocations: 87.94 kB / 0.6046 GB, free: 38.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/1.031, allocations: 90.5 kB / 0.6046 GB, free: 38.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.265e-06/1.031, allocations: 0 / 0.6046 GB, free: 38.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02238/1.054, allocations: 11.06 MB / 0.6154 GB, free: 27.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.054, allocations: 133 kB / 0.6156 GB, free: 27.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005598/1.059, allocations: 3.969 MB / 0.6194 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006759/1.06, allocations: 105.7 kB / 0.6195 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/1.062, allocations: 4.031 MB / 0.6235 GB, free: 19.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.063, allocations: 1.695 MB / 0.6251 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/1.066, allocations: 1.473 MB / 0.6266 GB, free: 16.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/1.066, allocations: 305.1 kB / 0.6269 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.071, allocations: 3.68 MB / 0.6305 GB, free: 12.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/1.077, allocations: 6.527 MB / 0.6368 GB, free: 4.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/1.091, allocations: 10.83 MB / 0.6474 GB, free: 8.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.091, allocations: 28 kB / 0.6474 GB, free: 8.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02513/1.116, allocations: 11.92 MB / 0.6591 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.116, allocations: 48 kB / 0.6591 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.116, allocations: 92 kB / 0.6592 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/1.122, allocations: 1.629 MB / 0.6608 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00657/1.128, allocations: 1.665 MB / 0.6624 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/1.151, allocations: 16.72 MB / 0.6788 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00587/1.157, allocations: 0.9704 MB / 0.6797 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.158, allocations: 360 kB / 0.68 GB, free: 6.203 MB / 494.1 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.007304/1.166, allocations: 3.752 MB / 0.6837 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.167, allocations: 409.3 kB / 0.6841 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.184, allocations: 8.529 MB / 0.6924 GB, free: 9.418 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/1.184, allocations: 51.94 kB / 0.6925 GB, free: 9.367 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/1.184, allocations: 12 kB / 0.6925 GB, free: 9.355 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/1.184, allocations: 27.91 kB / 0.6925 GB, free: 9.328 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03418/1.218, allocations: 14.85 MB / 0.707 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/1.218, allocations: 4 kB / 0.707 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004047/1.223, allocations: 0.8581 MB / 0.7079 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005431/1.228, allocations: 1.511 MB / 0.7093 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009691/1.229, allocations: 104 kB / 0.7094 GB, free: 7.828 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/1.252, allocations: 16.51 MB / 0.7256 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.252, allocations: 0 / 0.7256 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02388/1.276, allocations: 12.21 MB / 0.7375 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003597/1.279, allocations: 1.078 MB / 0.7385 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.28, allocations: 91.98 kB / 0.7386 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.284, allocations: 303.7 kB / 0.7389 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.285, allocations: 339.3 kB / 0.7392 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005225/1.285, allocations: 136 kB / 0.7394 GB, free: 8.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005506/1.291, allocations: 2.538 MB / 0.7419 GB, free: 5.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.291, allocations: 0 / 0.7419 GB, free: 5.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009177/1.3, allocations: 2.407 MB / 0.7442 GB, free: 3.395 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.001244/1.301, allocations: 267 kB / 0.7445 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.223/1.524, allocations: 8.993 MB / 0.7532 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.524, allocations: 1 kB / 0.7532 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006265/1.53, allocations: 4.173 MB / 0.7573 GB, free: 186.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/1.534, allocations: 0.7108 MB / 0.758 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/1.565, allocations: 17.13 MB / 0.7747 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007731/1.573, allocations: 5.475 MB / 0.7801 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/1.575, allocations: 429.6 kB / 0.7805 GB, free: 174.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.412e-06/1.575, allocations: 0 / 0.7805 GB, free: 174.2 MB / 0.545 GB Notification: Performance of Templates: time 0.8098/2.385, allocations: 420.5 MB / 1.191 GB, free: 184.9 MB / 0.5607 GB " [Timeout remaining time 658] 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 -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: 16.839461436960846]