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.001216/0.001216, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001303/0.001303, allocations: 214.4 kB / 24.51 MB, free: 3.688 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.341/1.341, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 43.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2424, allocations: 53.35 MB / 431.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01071/0.2532, allocations: 8.718 MB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.2591, allocations: 3.237 MB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007284/0.2598, allocations: 83.62 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007862/0.2677, allocations: 3.595 MB / 447.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.2718, allocations: 1.532 MB / 449 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.2741, allocations: 1.023 MB / 450.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2851, allocations: 9.335 MB / 459.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02235/0.3074, allocations: 12.95 MB / 472.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008846/0.3163, allocations: 5.183 MB / 477.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.3274, allocations: 6.161 MB / 483.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004544/0.3319, allocations: 1.402 MB / 485.1 MB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006458/0.3384, allocations: 1.648 MB / 486.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005885/0.3443, allocations: 2.927 MB / 489.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01279/0.357, allocations: 4.269 MB / 493.9 MB, free: 8.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03038/0.3874, allocations: 18.99 MB / 0.5009 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3874, allocations: 0 / 0.5009 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3874, allocations: 3.938 kB / 0.5009 GB, free: 5.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006106/0.388, allocations: 0 / 0.5009 GB, free: 5.293 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.04377/0.4318, allocations: 12.39 MB / 0.513 GB, free: 8.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.4319, allocations: 8.031 kB / 0.513 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000452/0.4323, allocations: 246.4 kB / 0.5132 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007293/0.4396, allocations: 1.328 MB / 0.5145 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04908/0.4887, allocations: 8.425 MB / 0.5228 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/0.5049, allocations: 6.027 MB / 0.5287 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008678/0.5058, allocations: 0.6584 MB / 0.5293 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004877/0.5107, allocations: 0.8671 MB / 0.5301 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5892/1.1, allocations: 16.26 MB / 0.546 GB, free: 81.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003843/1.1, allocations: 9.078 kB / 0.546 GB, free: 81.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002768/1.103, allocations: 370.6 kB / 0.5464 GB, free: 81.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005463/1.104, allocations: 0.5613 MB / 0.5469 GB, free: 81.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/1.128, allocations: 15.77 MB / 0.5623 GB, free: 74.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05794/1.186, allocations: 43.06 MB / 0.6044 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.199, allocations: 8.464 MB / 0.6127 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.203, allocations: 3.241 MB / 0.6158 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/1.203, allocations: 115.9 kB / 0.6159 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/1.203, allocations: 90.5 kB / 0.616 GB, free: 19.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.045e-06/1.203, allocations: 0 / 0.616 GB, free: 19.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.0197/1.223, allocations: 11.1 MB / 0.6269 GB, free: 8.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.223, allocations: 133 kB / 0.627 GB, free: 8.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/1.228, allocations: 3.85 MB / 0.6307 GB, free: 4.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005371/1.228, allocations: 101.7 kB / 0.6308 GB, free: 4.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.23, allocations: 4.043 MB / 0.6348 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.231, allocations: 1.693 MB / 0.6364 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/1.234, allocations: 1.489 MB / 0.6379 GB, free: 13.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.234, allocations: 305.1 kB / 0.6382 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/1.24, allocations: 3.688 MB / 0.6418 GB, free: 9.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/1.248, allocations: 6.531 MB / 0.6482 GB, free: 1.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/1.263, allocations: 10.86 MB / 0.6588 GB, free: 5.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.263, allocations: 27.75 kB / 0.6588 GB, free: 5.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02269/1.286, allocations: 11.96 MB / 0.6705 GB, free: 9.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/1.286, allocations: 47.94 kB / 0.6705 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.286, allocations: 96 kB / 0.6706 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/1.291, allocations: 1.629 MB / 0.6722 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006479/1.297, allocations: 1.673 MB / 0.6738 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.318, allocations: 16.86 MB / 0.6903 GB, free: 4.398 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.324, allocations: 0.9703 MB / 0.6913 GB, free: 3.422 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.326, allocations: 367.9 kB / 0.6916 GB, free: 3.062 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.007428/1.333, allocations: 3.754 MB / 0.6953 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.334, allocations: 413.3 kB / 0.6957 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.35, allocations: 8.522 MB / 0.704 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-05/1.35, allocations: 55.92 kB / 0.704 GB, free: 6.219 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/1.35, allocations: 12 kB / 0.7041 GB, free: 6.207 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.755e-05/1.35, allocations: 23.91 kB / 0.7041 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.38, allocations: 16.22 MB / 0.7199 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.38, allocations: 256 / 0.7199 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/1.384, allocations: 0.8777 MB / 0.7208 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/1.388, allocations: 1.502 MB / 0.7222 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000499/1.389, allocations: 112 kB / 0.7223 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02097/1.41, allocations: 16.68 MB / 0.7386 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.41, allocations: 4 kB / 0.7386 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.431, allocations: 12.25 MB / 0.7506 GB, free: 5.453 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/1.434, allocations: 1.089 MB / 0.7517 GB, free: 4.363 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/1.435, allocations: 87.94 kB / 0.7517 GB, free: 4.277 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.438, allocations: 303.7 kB / 0.752 GB, free: 3.98 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008925/1.439, allocations: 339.3 kB / 0.7524 GB, free: 3.648 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.439, allocations: 156 kB / 0.7525 GB, free: 3.496 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004461/1.443, allocations: 2.578 MB / 0.755 GB, free: 0.9219 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.443, allocations: 0 / 0.755 GB, free: 0.9219 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.268/1.711, allocations: 2.398 MB / 0.7574 GB, free: 193 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.01967/1.731, allocations: 12.97 MB / 0.77 GB, free: 189.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.744, allocations: 9.014 MB / 0.7788 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.744, allocations: 6.406 kB / 0.7788 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006343/1.751, allocations: 4.178 MB / 0.7829 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.004072/1.755, allocations: 0.728 MB / 0.7836 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09921/1.854, allocations: 61.42 MB / 0.8436 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009045/1.863, allocations: 5.583 MB / 0.8491 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007754/1.871, allocations: 3.255 MB / 0.8522 GB, free: 116 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005516/1.876, allocations: 3.065 MB / 0.8552 GB, free: 113 MB / 0.5607 GB Notification: Performance of SimCode: time 2.204e-06/1.876, allocations: 0 / 0.8552 GB, free: 113 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4564/2.333, allocations: 132.3 MB / 0.9844 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.49/22.82, allocations: 5.031 kB / 0.9844 GB, free: 173.7 MB / 0.5607 GB " [Timeout remaining time 637] (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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 33.46430374798365]