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.00156/0.00156, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001645/0.001645, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.379/1.379, allocations: 230.5 MB / 257.4 MB, free: 7.801 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2316, allocations: 53.41 MB / 431.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01083/0.2425, allocations: 8.714 MB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.2491, allocations: 3.252 MB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.2501, allocations: 87.56 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008319/0.2584, allocations: 3.581 MB / 446.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.2624, allocations: 1.512 MB / 448.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.2647, allocations: 1.019 MB / 449.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.2747, allocations: 9.348 MB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01968/0.2944, allocations: 12.83 MB / 471.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007768/0.3022, allocations: 5.164 MB / 476.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.3125, allocations: 6.056 MB / 482.7 MB, free: 2.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003348/0.3158, allocations: 1.398 MB / 484.1 MB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.32, allocations: 1.636 MB / 485.8 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0031/0.3231, allocations: 2.93 MB / 488.7 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00673/0.3298, allocations: 4.273 MB / 493 MB, free: 8.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02291/0.3527, allocations: 19 MB / 0.5 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.3527, allocations: 0 / 0.5 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3527, allocations: 0 / 0.5 GB, free: 5.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005188/0.3532, allocations: 0 / 0.5 GB, free: 5.324 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.03389/0.3871, allocations: 12.38 MB / 0.512 GB, free: 8.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3872, allocations: 15.92 kB / 0.5121 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003235/0.3904, allocations: 1.328 MB / 0.5134 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04822/0.4386, allocations: 8.417 MB / 0.5216 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.4534, allocations: 6.027 MB / 0.5275 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008293/0.4542, allocations: 0.6584 MB / 0.5281 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/0.4579, allocations: 0.871 MB / 0.529 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3595/0.8173, allocations: 16.27 MB / 0.5448 GB, free: 81.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001987/0.8175, allocations: 10.56 kB / 0.5449 GB, free: 81.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.8186, allocations: 374.4 kB / 0.5452 GB, free: 81.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005103/0.8191, allocations: 0.5564 MB / 0.5458 GB, free: 81.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.8415, allocations: 15.69 MB / 0.5611 GB, free: 74.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05587/0.8973, allocations: 43.07 MB / 0.6031 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.9098, allocations: 8.455 MB / 0.6114 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003754/0.9135, allocations: 3.249 MB / 0.6146 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.9138, allocations: 111.9 kB / 0.6147 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.9139, allocations: 90.56 kB / 0.6148 GB, free: 19.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.424e-06/0.9139, allocations: 0 / 0.6148 GB, free: 19.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01942/0.9333, allocations: 11.1 MB / 0.6256 GB, free: 8.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.9333, allocations: 125.1 kB / 0.6257 GB, free: 8.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/0.9378, allocations: 4.024 MB / 0.6297 GB, free: 4.547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004906/0.9382, allocations: 101.7 kB / 0.6297 GB, free: 4.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.9397, allocations: 4.043 MB / 0.6337 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.9411, allocations: 1.688 MB / 0.6353 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002336/0.9434, allocations: 1.496 MB / 0.6368 GB, free: 13.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9436, allocations: 301.1 kB / 0.6371 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005968/0.9495, allocations: 3.699 MB / 0.6407 GB, free: 9.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008662/0.9582, allocations: 6.523 MB / 0.6471 GB, free: 1.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.9737, allocations: 10.86 MB / 0.6577 GB, free: 5.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.9738, allocations: 27.94 kB / 0.6577 GB, free: 5.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0245/0.9983, allocations: 11.96 MB / 0.6694 GB, free: 9.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.9984, allocations: 44 kB / 0.6694 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/0.9986, allocations: 99.94 kB / 0.6695 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/1.004, allocations: 1.624 MB / 0.6711 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006766/1.011, allocations: 1.673 MB / 0.6727 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/1.033, allocations: 16.86 MB / 0.6892 GB, free: 4.512 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006996/1.04, allocations: 0.9742 MB / 0.6902 GB, free: 3.531 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.042, allocations: 371.9 kB / 0.6905 GB, free: 3.168 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.008018/1.05, allocations: 3.754 MB / 0.6942 GB, free: 15.39 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/1.051, allocations: 417.3 kB / 0.6946 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.069, allocations: 8.522 MB / 0.7029 GB, free: 6.375 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/1.069, allocations: 51.94 kB / 0.7029 GB, free: 6.324 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/1.069, allocations: 12 kB / 0.703 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.069, allocations: 27.91 kB / 0.703 GB, free: 6.285 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/1.104, allocations: 16.21 MB / 0.7188 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.104, allocations: 0 / 0.7188 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.108, allocations: 0.8698 MB / 0.7197 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005132/1.113, allocations: 1.51 MB / 0.7211 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009146/1.114, allocations: 116 kB / 0.7212 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/1.136, allocations: 16.69 MB / 0.7375 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.136, allocations: 4 kB / 0.7375 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02519/1.161, allocations: 12.25 MB / 0.7495 GB, free: 5.555 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/1.165, allocations: 1.082 MB / 0.7506 GB, free: 4.469 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.166, allocations: 84 kB / 0.7506 GB, free: 4.387 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.169, allocations: 299.7 kB / 0.7509 GB, free: 4.094 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/1.169, allocations: 339.4 kB / 0.7513 GB, free: 3.762 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.17, allocations: 144 kB / 0.7514 GB, free: 3.621 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004448/1.174, allocations: 2.578 MB / 0.7539 GB, free: 1.047 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.174, allocations: 0 / 0.7539 GB, free: 1.047 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.2191/1.393, allocations: 2.4 MB / 0.7563 GB, free: 190.3 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.01893/1.412, allocations: 12.97 MB / 0.7689 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.012/1.424, allocations: 9.016 MB / 0.7777 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.424, allocations: 5.047 kB / 0.7777 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.43, allocations: 4.178 MB / 0.7818 GB, free: 182 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.434, allocations: 0.7382 MB / 0.7825 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06869/1.502, allocations: 61.41 MB / 0.8425 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/1.507, allocations: 5.584 MB / 0.848 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0057/1.512, allocations: 3.251 MB / 0.8511 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/1.515, allocations: 3.069 MB / 0.8541 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.012e-06/1.515, allocations: 0 / 0.8541 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.031/4.546, allocations: 128.6 MB / 0.9797 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.22/26.76, allocations: 10.36 kB / 0.9797 GB, free: 176.6 MB / 0.5607 GB " [Timeout remaining time 633] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 34.1502824081108]