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.001712/0.001712, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001492/0.001492, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 7.805 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 59.89 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3803, allocations: 53.42 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01327/0.3936, allocations: 8.703 MB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009228/0.4028, allocations: 3.244 MB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.4051, allocations: 87.56 kB / 444 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009719/0.4148, allocations: 3.581 MB / 447.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.4208, allocations: 1.524 MB / 449.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.4248, allocations: 1.038 MB / 450.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.4375, allocations: 9.347 MB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02496/0.4625, allocations: 12.95 MB / 472.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008776/0.4713, allocations: 5.171 MB / 477.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.4827, allocations: 6.165 MB / 483.7 MB, free: 2.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004552/0.4872, allocations: 1.395 MB / 485.1 MB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006777/0.494, allocations: 1.652 MB / 486.8 MB, free: 15.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006114/0.5001, allocations: 2.934 MB / 489.7 MB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.5108, allocations: 4.265 MB / 494 MB, free: 8.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02501/0.5358, allocations: 18.99 MB / 0.5009 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5358, allocations: 0 / 0.5009 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5358, allocations: 0 / 0.5009 GB, free: 5.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005921/0.5364, allocations: 0 / 0.5009 GB, free: 5.082 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.04402/0.5804, allocations: 12.39 MB / 0.513 GB, free: 8.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.5805, allocations: 12.03 kB / 0.5131 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004291/0.5809, allocations: 242.4 kB / 0.5133 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007867/0.5888, allocations: 1.328 MB / 0.5146 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05095/0.6397, allocations: 8.421 MB / 0.5228 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.6573, allocations: 6.019 MB / 0.5287 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009562/0.6583, allocations: 0.6623 MB / 0.5293 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/0.663, allocations: 0.871 MB / 0.5302 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5459/1.209, allocations: 16.27 MB / 0.5461 GB, free: 81.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/1.209, allocations: 11.61 kB / 0.5461 GB, free: 81.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/1.211, allocations: 369.8 kB / 0.5464 GB, free: 81.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005218/1.211, allocations: 0.5592 MB / 0.547 GB, free: 81.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.236, allocations: 15.77 MB / 0.5624 GB, free: 73.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06143/1.298, allocations: 43.06 MB / 0.6044 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.31, allocations: 8.46 MB / 0.6127 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003764/1.314, allocations: 3.249 MB / 0.6159 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/1.314, allocations: 111.9 kB / 0.616 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.314, allocations: 86.56 kB / 0.6161 GB, free: 19.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.076e-06/1.314, allocations: 0 / 0.6161 GB, free: 19.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01821/1.333, allocations: 11.11 MB / 0.6269 GB, free: 7.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/1.333, allocations: 125.1 kB / 0.627 GB, free: 7.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/1.337, allocations: 3.851 MB / 0.6308 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006313/1.338, allocations: 101.7 kB / 0.6309 GB, free: 3.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.34, allocations: 4.049 MB / 0.6348 GB, free: 316 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002074/1.342, allocations: 1.681 MB / 0.6365 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/1.344, allocations: 1.493 MB / 0.6379 GB, free: 13.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/1.345, allocations: 301.1 kB / 0.6382 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005911/1.351, allocations: 3.699 MB / 0.6418 GB, free: 9.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008467/1.359, allocations: 6.531 MB / 0.6482 GB, free: 1.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.374, allocations: 10.85 MB / 0.6588 GB, free: 5.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/1.374, allocations: 31.75 kB / 0.6588 GB, free: 5.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02366/1.398, allocations: 11.97 MB / 0.6705 GB, free: 9.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.398, allocations: 47.94 kB / 0.6706 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002053/1.398, allocations: 92 kB / 0.6707 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005324/1.403, allocations: 1.617 MB / 0.6722 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007084/1.41, allocations: 1.673 MB / 0.6739 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/1.433, allocations: 16.87 MB / 0.6903 GB, free: 4.016 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.44, allocations: 0.9781 MB / 0.6913 GB, free: 3.031 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.441, allocations: 360 kB / 0.6916 GB, free: 2.68 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.007459/1.448, allocations: 3.758 MB / 0.6953 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.449, allocations: 413.3 kB / 0.6957 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.466, allocations: 8.526 MB / 0.704 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/1.466, allocations: 51.94 kB / 0.7041 GB, free: 5.836 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.466, allocations: 12 kB / 0.7041 GB, free: 5.824 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.934e-05/1.466, allocations: 27.84 kB / 0.7041 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03311/1.499, allocations: 16.21 MB / 0.72 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.499, allocations: 4 kB / 0.72 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/1.503, allocations: 0.8659 MB / 0.7208 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005031/1.508, allocations: 1.51 MB / 0.7223 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008445/1.509, allocations: 116 kB / 0.7224 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/1.53, allocations: 16.69 MB / 0.7387 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.53, allocations: 4 kB / 0.7387 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/1.552, allocations: 12.25 MB / 0.7506 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003013/1.555, allocations: 1.086 MB / 0.7517 GB, free: 3.973 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.556, allocations: 84 kB / 0.7518 GB, free: 3.891 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.559, allocations: 303.7 kB / 0.7521 GB, free: 3.594 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/1.56, allocations: 343.3 kB / 0.7524 GB, free: 3.258 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/1.56, allocations: 148 kB / 0.7525 GB, free: 3.113 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005489/1.565, allocations: 2.574 MB / 0.7551 GB, free: 0.543 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.565, allocations: 0 / 0.7551 GB, free: 0.543 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.2827/1.848, allocations: 2.401 MB / 0.7574 GB, free: 193.1 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.01928/1.867, allocations: 12.96 MB / 0.7701 GB, free: 189.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.881, allocations: 9.018 MB / 0.7789 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.881, allocations: 0 / 0.7789 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006148/1.887, allocations: 4.182 MB / 0.783 GB, free: 184.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.89, allocations: 0.7383 MB / 0.7837 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0836/1.974, allocations: 61.41 MB / 0.8436 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.98, allocations: 5.588 MB / 0.8491 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006449/1.986, allocations: 3.247 MB / 0.8523 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004265/1.99, allocations: 3.066 MB / 0.8553 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.283e-06/1.99, allocations: 0 / 0.8553 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.564/2.554, allocations: 132.2 MB / 0.9844 GB, free: 173 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.44/25, allocations: 10.38 kB / 0.9844 GB, free: 173 MB / 0.5607 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] 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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 36.031424777931534]