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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001407/0.001407, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.773 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 55.91 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01106/0.2513, allocations: 8.7 MB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.2582, allocations: 3.248 MB / 443 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.2598, allocations: 87.56 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009122/0.2689, allocations: 3.59 MB / 446.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.2739, allocations: 1.534 MB / 448.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.2766, allocations: 1.031 MB / 449.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.2887, allocations: 9.341 MB / 458.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02055/0.3092, allocations: 12.96 MB / 471.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/0.3169, allocations: 5.171 MB / 476.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009929/0.3268, allocations: 6.173 MB / 482.9 MB, free: 2.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003116/0.33, allocations: 1.395 MB / 484.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.3342, allocations: 1.648 MB / 486 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.3381, allocations: 2.927 MB / 488.9 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00908/0.3472, allocations: 4.273 MB / 493.2 MB, free: 8.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02278/0.3699, allocations: 18.99 MB / 0.5002 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3699, allocations: 0 / 0.5002 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3699, allocations: 0 / 0.5002 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004335/0.3704, allocations: 3.938 kB / 0.5002 GB, free: 5.215 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.03693/0.4073, allocations: 12.38 MB / 0.5123 GB, free: 8.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4074, allocations: 12.03 kB / 0.5123 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005087/0.4125, allocations: 1.324 MB / 0.5136 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04927/0.4617, allocations: 8.425 MB / 0.5218 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.477, allocations: 6.027 MB / 0.5277 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007696/0.4778, allocations: 0.6623 MB / 0.5283 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003891/0.4817, allocations: 0.8632 MB / 0.5292 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4612/0.9428, allocations: 16.27 MB / 0.545 GB, free: 81.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/0.9431, allocations: 10.56 kB / 0.5451 GB, free: 81.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/0.9458, allocations: 371.7 kB / 0.5454 GB, free: 81.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008201/0.9466, allocations: 0.5593 MB / 0.546 GB, free: 81.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03059/0.9772, allocations: 15.69 MB / 0.5613 GB, free: 74.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07601/1.053, allocations: 43.07 MB / 0.6033 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/1.066, allocations: 8.457 MB / 0.6116 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/1.07, allocations: 3.245 MB / 0.6148 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/1.07, allocations: 115.9 kB / 0.6149 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/1.07, allocations: 86.5 kB / 0.615 GB, free: 19.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.315e-06/1.07, allocations: 0 / 0.615 GB, free: 19.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02035/1.091, allocations: 11.1 MB / 0.6258 GB, free: 8.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.091, allocations: 129.1 kB / 0.6259 GB, free: 8.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/1.096, allocations: 4.024 MB / 0.6299 GB, free: 4.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.097, allocations: 101.7 kB / 0.6299 GB, free: 4.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002516/1.099, allocations: 4.047 MB / 0.6339 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002278/1.102, allocations: 1.688 MB / 0.6355 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002971/1.104, allocations: 1.492 MB / 0.637 GB, free: 13.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/1.105, allocations: 305.1 kB / 0.6373 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/1.111, allocations: 3.691 MB / 0.6409 GB, free: 9.637 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/1.122, allocations: 6.535 MB / 0.6473 GB, free: 1.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.138, allocations: 10.85 MB / 0.6579 GB, free: 5.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.138, allocations: 31.92 kB / 0.6579 GB, free: 5.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02444/1.163, allocations: 11.95 MB / 0.6696 GB, free: 9.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/1.163, allocations: 48.34 kB / 0.6696 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/1.163, allocations: 99.94 kB / 0.6697 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005153/1.168, allocations: 1.621 MB / 0.6713 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007113/1.175, allocations: 1.673 MB / 0.6729 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/1.197, allocations: 16.87 MB / 0.6894 GB, free: 4.539 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/1.203, allocations: 0.9742 MB / 0.6904 GB, free: 3.559 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.205, allocations: 368 kB / 0.6907 GB, free: 3.199 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.007579/1.212, allocations: 3.75 MB / 0.6944 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.213, allocations: 417.3 kB / 0.6948 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.228, allocations: 8.526 MB / 0.7031 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/1.229, allocations: 51.94 kB / 0.7032 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.431e-05/1.229, allocations: 12 kB / 0.7032 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-05/1.229, allocations: 31.91 kB / 0.7032 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/1.266, allocations: 16.21 MB / 0.719 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.266, allocations: 0 / 0.719 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004351/1.271, allocations: 0.8737 MB / 0.7199 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005034/1.276, allocations: 1.506 MB / 0.7214 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/1.277, allocations: 116 kB / 0.7215 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/1.299, allocations: 16.68 MB / 0.7377 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.299, allocations: 4 kB / 0.7378 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02239/1.321, allocations: 12.25 MB / 0.7497 GB, free: 5.59 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/1.325, allocations: 1.082 MB / 0.7508 GB, free: 4.504 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009396/1.326, allocations: 84 kB / 0.7508 GB, free: 4.422 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.329, allocations: 303.7 kB / 0.7511 GB, free: 4.125 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008033/1.33, allocations: 339.3 kB / 0.7515 GB, free: 3.793 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003361/1.33, allocations: 148 kB / 0.7516 GB, free: 3.648 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004422/1.334, allocations: 2.578 MB / 0.7541 GB, free: 1.074 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.334, allocations: 0 / 0.7541 GB, free: 1.074 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.2458/1.58, allocations: 2.401 MB / 0.7565 GB, free: 190.5 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.01824/1.598, allocations: 12.97 MB / 0.7691 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.612, allocations: 9.013 MB / 0.7779 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.612, allocations: 0 / 0.7779 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006438/1.618, allocations: 4.18 MB / 0.782 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.622, allocations: 0.7427 MB / 0.7827 GB, free: 181.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07986/1.702, allocations: 61.4 MB / 0.8427 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005409/1.707, allocations: 5.585 MB / 0.8482 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006165/1.714, allocations: 3.251 MB / 0.8513 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004054/1.718, allocations: 3.073 MB / 0.8543 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of SimCode: time 2.615e-06/1.718, allocations: 0 / 0.8543 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/2.123, allocations: 132.3 MB / 0.9836 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/19.4, allocations: 5.156 kB / 0.9836 GB, free: 180.4 MB / 0.5607 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 26.093638758000452]