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.001561/0.001561, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001724/0.001724, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.734 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: 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 0.001618/0.001618, allocations: 51.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01129/0.2529, allocations: 8.709 MB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.2597, allocations: 3.244 MB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.2608, allocations: 83.62 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008982/0.2698, allocations: 3.592 MB / 448 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.2744, allocations: 1.534 MB / 449.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.2771, allocations: 1.025 MB / 450.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.2886, allocations: 9.345 MB / 459.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01977/0.3084, allocations: 12.96 MB / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008429/0.3168, allocations: 5.175 MB / 478 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.329, allocations: 6.161 MB / 484.2 MB, free: 2.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005111/0.3341, allocations: 1.402 MB / 485.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.3394, allocations: 1.648 MB / 487.2 MB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004537/0.3439, allocations: 2.93 MB / 490.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007514/0.3514, allocations: 4.273 MB / 494.4 MB, free: 8.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.3731, allocations: 18.99 MB / 0.5014 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3731, allocations: 8 kB / 0.5014 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3731, allocations: 0 / 0.5014 GB, free: 5.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003992/0.3735, allocations: 0 / 0.5014 GB, free: 5.281 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.03839/0.4119, allocations: 12.38 MB / 0.5135 GB, free: 8.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4119, allocations: 8.031 kB / 0.5135 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05114/0.4631, allocations: 8.417 MB / 0.5217 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.4794, allocations: 6.027 MB / 0.5276 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007641/0.4802, allocations: 0.6623 MB / 0.5282 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003664/0.4838, allocations: 0.8632 MB / 0.5291 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4308/0.9146, allocations: 16.27 MB / 0.545 GB, free: 82.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004008/0.915, allocations: 6.891 kB / 0.545 GB, free: 82.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003296/0.9183, allocations: 368.2 kB / 0.5453 GB, free: 82.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005567/0.9189, allocations: 0.5532 MB / 0.5459 GB, free: 82.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.9459, allocations: 15.7 MB / 0.5612 GB, free: 75.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06579/1.012, allocations: 41.73 MB / 0.602 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/1.024, allocations: 8.45 MB / 0.6102 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/1.028, allocations: 3.245 MB / 0.6134 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/1.029, allocations: 123.9 kB / 0.6135 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/1.029, allocations: 86.5 kB / 0.6136 GB, free: 22.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.045e-06/1.029, allocations: 0 / 0.6136 GB, free: 22.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.0202/1.049, allocations: 11.1 MB / 0.6244 GB, free: 11.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.049, allocations: 133 kB / 0.6245 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/1.054, allocations: 3.967 MB / 0.6284 GB, free: 7.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009052/1.055, allocations: 101.7 kB / 0.6285 GB, free: 7.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.057, allocations: 4.034 MB / 0.6325 GB, free: 3.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.058, allocations: 1.692 MB / 0.6341 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002119/1.06, allocations: 1.489 MB / 0.6356 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/1.06, allocations: 301.1 kB / 0.6358 GB, free: 468 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/1.066, allocations: 3.691 MB / 0.6394 GB, free: 12.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009032/1.075, allocations: 6.535 MB / 0.6458 GB, free: 4.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.091, allocations: 10.85 MB / 0.6564 GB, free: 8.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.091, allocations: 24 kB / 0.6565 GB, free: 8.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02631/1.118, allocations: 11.97 MB / 0.6681 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.118, allocations: 44 kB / 0.6682 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/1.118, allocations: 92 kB / 0.6683 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/1.123, allocations: 1.621 MB / 0.6699 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007297/1.131, allocations: 1.681 MB / 0.6715 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/1.153, allocations: 16.72 MB / 0.6878 GB, free: 7.883 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006213/1.159, allocations: 0.9625 MB / 0.6888 GB, free: 6.914 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/1.16, allocations: 371.9 kB / 0.6891 GB, free: 6.551 MB / 0.4982 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.00782/1.168, allocations: 3.754 MB / 0.6928 GB, free: 2.781 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009621/1.169, allocations: 413.3 kB / 0.6932 GB, free: 2.375 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.186, allocations: 8.526 MB / 0.7015 GB, free: 9.762 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/1.186, allocations: 48 kB / 0.7015 GB, free: 9.715 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-05/1.186, allocations: 12 kB / 0.7016 GB, free: 9.703 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/1.186, allocations: 23.91 kB / 0.7016 GB, free: 9.68 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03374/1.22, allocations: 14.89 MB / 0.7161 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.22, allocations: 4 kB / 0.7161 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004224/1.224, allocations: 0.8659 MB / 0.717 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/1.229, allocations: 1.511 MB / 0.7184 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/1.23, allocations: 111.9 kB / 0.7186 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.251, allocations: 16.54 MB / 0.7347 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.251, allocations: 7.938 kB / 0.7347 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2707/1.522, allocations: 12.24 MB / 0.7467 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003554/1.526, allocations: 1.082 MB / 0.7477 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.527, allocations: 85.59 kB / 0.7478 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.53, allocations: 298.1 kB / 0.7481 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006848/1.53, allocations: 344.8 kB / 0.7484 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/1.531, allocations: 143.7 kB / 0.7486 GB, free: 172.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003324/1.534, allocations: 2.537 MB / 0.751 GB, free: 172 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.534, allocations: 0 / 0.751 GB, free: 172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007303/1.541, allocations: 2.415 MB / 0.7534 GB, free: 171.7 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.0009076/1.542, allocations: 260.3 kB / 0.7536 GB, free: 171.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.555, allocations: 9.02 MB / 0.7624 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/1.555, allocations: 0 / 0.7624 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006286/1.562, allocations: 4.179 MB / 0.7665 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.565, allocations: 0.7134 MB / 0.7672 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03728/1.603, allocations: 17.02 MB / 0.7839 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009192/1.612, allocations: 5.472 MB / 0.7892 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002963/1.615, allocations: 467.3 kB / 0.7896 GB, free: 150.9 MB / 0.545 GB Notification: Performance of SimCode: time 3.947e-06/1.615, allocations: 0 / 0.7896 GB, free: 150.9 MB / 0.545 GB Notification: Performance of Templates: time 0.858/2.473, allocations: 422.7 MB / 1.202 GB, free: 186.5 MB / 0.5763 GB " [Timeout remaining time 658] 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/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.609380371985026]