Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001886/0.001886, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00234/0.00234, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2303, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01179/0.2421, allocations: 8.697 MB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.2496, allocations: 3.252 MB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.2513, allocations: 83.62 kB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009607/0.2609, allocations: 3.584 MB / 448 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.266, allocations: 1.524 MB / 449.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.2688, allocations: 1.018 MB / 450.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.2805, allocations: 9.337 MB / 459.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02251/0.303, allocations: 12.84 MB / 472.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007815/0.3108, allocations: 5.179 MB / 477.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00968/0.3205, allocations: 6.056 MB / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003566/0.3241, allocations: 1.398 MB / 485.4 MB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.3289, allocations: 1.637 MB / 487 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00448/0.3334, allocations: 2.93 MB / 489.9 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008559/0.342, allocations: 4.277 MB / 494.2 MB, free: 8.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.3642, allocations: 18.98 MB / 0.5012 GB, free: 5.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3642, allocations: 0 / 0.5012 GB, free: 5.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3642, allocations: 4 kB / 0.5012 GB, free: 5.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004364/0.3646, allocations: 0 / 0.5012 GB, free: 5.375 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.03669/0.4013, allocations: 12.38 MB / 0.5133 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4014, allocations: 11.98 kB / 0.5133 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05068/0.452, allocations: 8.429 MB / 0.5215 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.4674, allocations: 6.023 MB / 0.5274 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00079/0.4682, allocations: 0.6623 MB / 0.528 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003693/0.4718, allocations: 0.8671 MB / 0.5289 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4166/0.8884, allocations: 16.27 MB / 0.5448 GB, free: 82.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/0.8887, allocations: 6.688 kB / 0.5448 GB, free: 82.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.8898, allocations: 370.6 kB / 0.5451 GB, free: 81.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/0.8901, allocations: 0.5559 MB / 0.5457 GB, free: 81.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.9143, allocations: 15.69 MB / 0.561 GB, free: 75.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06088/0.9752, allocations: 41.74 MB / 0.6018 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.9874, allocations: 8.445 MB / 0.61 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.9908, allocations: 3.245 MB / 0.6132 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.9911, allocations: 115.9 kB / 0.6133 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.9912, allocations: 90.44 kB / 0.6134 GB, free: 22.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.434e-06/0.9912, allocations: 4 kB / 0.6134 GB, free: 22.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01943/1.011, allocations: 11.1 MB / 0.6242 GB, free: 11.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.011, allocations: 125.1 kB / 0.6243 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005098/1.016, allocations: 3.965 MB / 0.6282 GB, free: 7.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005845/1.016, allocations: 105.7 kB / 0.6283 GB, free: 7.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.018, allocations: 4.047 MB / 0.6323 GB, free: 3.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.019, allocations: 1.683 MB / 0.6339 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.021, allocations: 1.493 MB / 0.6354 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/1.021, allocations: 301.1 kB / 0.6356 GB, free: 388 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005883/1.027, allocations: 3.696 MB / 0.6393 GB, free: 12.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009295/1.036, allocations: 6.527 MB / 0.6456 GB, free: 4.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.052, allocations: 10.85 MB / 0.6562 GB, free: 8.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.052, allocations: 24 kB / 0.6562 GB, free: 8.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02859/1.081, allocations: 11.96 MB / 0.6679 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/1.081, allocations: 48.09 kB / 0.668 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002531/1.081, allocations: 95.98 kB / 0.6681 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/1.087, allocations: 1.624 MB / 0.6697 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.094, allocations: 1.677 MB / 0.6713 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/1.118, allocations: 16.72 MB / 0.6876 GB, free: 7.816 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.125, allocations: 0.9586 MB / 0.6886 GB, free: 6.852 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/1.126, allocations: 371.9 kB / 0.6889 GB, free: 6.488 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.00868/1.135, allocations: 3.758 MB / 0.6926 GB, free: 2.715 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/1.136, allocations: 405.4 kB / 0.693 GB, free: 2.316 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/1.157, allocations: 8.522 MB / 0.7013 GB, free: 9.703 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/1.157, allocations: 48 kB / 0.7013 GB, free: 9.656 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/1.157, allocations: 16 kB / 0.7013 GB, free: 9.641 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.157, allocations: 31.83 kB / 0.7014 GB, free: 9.609 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03803/1.195, allocations: 14.89 MB / 0.7159 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/1.195, allocations: 4 kB / 0.7159 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004459/1.2, allocations: 0.8698 MB / 0.7168 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005464/1.205, allocations: 1.51 MB / 0.7183 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/1.206, allocations: 112 kB / 0.7184 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/1.229, allocations: 16.54 MB / 0.7345 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.229, allocations: 7.938 kB / 0.7345 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02778/1.257, allocations: 12.23 MB / 0.7465 GB, free: 10.45 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004143/1.261, allocations: 1.09 MB / 0.7475 GB, free: 9.359 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001711/1.263, allocations: 87.94 kB / 0.7476 GB, free: 9.273 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/1.267, allocations: 295.6 kB / 0.7479 GB, free: 8.984 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001527/1.268, allocations: 339.4 kB / 0.7482 GB, free: 8.652 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009084/1.269, allocations: 144 kB / 0.7483 GB, free: 8.512 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006048/1.275, allocations: 2.542 MB / 0.7508 GB, free: 5.973 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.275, allocations: 0 / 0.7508 GB, free: 5.973 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01042/1.286, allocations: 2.411 MB / 0.7532 GB, free: 3.555 MB / 0.5607 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.001412/1.287, allocations: 266.5 kB / 0.7534 GB, free: 3.281 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2446/1.532, allocations: 9.006 MB / 0.7622 GB, free: 195.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.532, allocations: 1.375 kB / 0.7622 GB, free: 195.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006361/1.538, allocations: 4.177 MB / 0.7663 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.541, allocations: 0.7134 MB / 0.767 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.568, allocations: 17.02 MB / 0.7836 GB, free: 187 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004792/1.573, allocations: 5.476 MB / 0.789 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.574, allocations: 470.3 kB / 0.7894 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.093e-06/1.574, allocations: 7.938 kB / 0.7894 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.806/2.38, allocations: 422.7 MB / 1.202 GB, free: 197.9 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 18.03755443682894]