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.001725/0.001725, allocations: 121 kB / 18.5 MB, free: 4.562 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.002081/0.002081, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.392/1.392, allocations: 230.6 MB / 254.8 MB, free: 15.25 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="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.00143/0.00143, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09792, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01171/0.1096, allocations: 10.06 MB / 437.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006558/0.1162, allocations: 3.4 MB / 440.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1173, allocations: 83.62 kB / 440.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008827/0.1261, allocations: 3.873 MB / 444.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.1313, allocations: 1.497 MB / 445.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.1339, allocations: 1.054 MB / 447 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2091/0.3431, allocations: 9.257 MB / 456.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02116/0.3643, allocations: 15.8 MB / 472.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009917/0.3742, allocations: 5.377 MB / 477.4 MB, free: 0 / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.3867, allocations: 6.144 MB / 483.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004644/0.3913, allocations: 1.399 MB / 485 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008123/0.3994, allocations: 1.653 MB / 486.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005776/0.4052, allocations: 2.932 MB / 489.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.4152, allocations: 5.45 MB / 495 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02231/0.4375, allocations: 18.9 MB / 0.5019 GB, free: 2.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4375, allocations: 4 kB / 0.5019 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4376, allocations: 4 kB / 0.5019 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005524/0.4381, allocations: 0 / 0.5019 GB, free: 2.18 MB / 398.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.03836/0.4765, allocations: 12.46 MB / 0.514 GB, free: 5.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4765, allocations: 8.031 kB / 0.5141 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002574/0.4768, allocations: 246.4 kB / 0.5143 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004708/0.4815, allocations: 1.327 MB / 0.5156 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04817/0.5296, allocations: 8.417 MB / 0.5238 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.5434, allocations: 5.917 MB / 0.5296 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008924/0.5443, allocations: 0.6637 MB / 0.5302 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004204/0.5485, allocations: 0.8664 MB / 0.5311 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04098/0.5894, allocations: 16.02 MB / 0.5467 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/0.5898, allocations: 7.953 kB / 0.5467 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/0.5929, allocations: 373.7 kB / 0.5471 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007188/0.5936, allocations: 0.5582 MB / 0.5476 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03205/0.6257, allocations: 15.77 MB / 0.563 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08196/0.7076, allocations: 48.68 MB / 0.6106 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/0.7304, allocations: 18.86 MB / 0.629 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/0.7359, allocations: 3.25 MB / 0.6322 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005058/0.7364, allocations: 300.9 kB / 0.6324 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/0.7365, allocations: 82.56 kB / 0.6325 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=468): time 6.653e-06/0.7365, allocations: 0 / 0.6325 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=468): time 0.3992/1.136, allocations: 11.56 MB / 0.6438 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/1.136, allocations: 133.4 kB / 0.6439 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/1.142, allocations: 3.846 MB / 0.6477 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008672/1.143, allocations: 102.9 kB / 0.6478 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.146, allocations: 4.048 MB / 0.6517 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.148, allocations: 1.687 MB / 0.6534 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/1.15, allocations: 1.49 MB / 0.6549 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/1.15, allocations: 302.1 kB / 0.6551 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006258/1.156, allocations: 3.695 MB / 0.6587 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008565/1.165, allocations: 6.534 MB / 0.6651 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/1.179, allocations: 10.86 MB / 0.6757 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/1.18, allocations: 27.25 kB / 0.6758 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02116/1.201, allocations: 11.96 MB / 0.6874 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/1.201, allocations: 47.19 kB / 0.6875 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.201, allocations: 92.41 kB / 0.6876 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004387/1.205, allocations: 1.615 MB / 0.6891 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/1.211, allocations: 1.676 MB / 0.6908 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/1.226, allocations: 17.67 MB / 0.708 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.232, allocations: 0.9728 MB / 0.709 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.233, allocations: 368.9 kB / 0.7093 GB, free: 126.5 MB / 0.5294 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.00545/1.238, allocations: 3.756 MB / 0.713 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000806/1.239, allocations: 409.4 kB / 0.7134 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.252, allocations: 8.526 MB / 0.7217 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/1.252, allocations: 52 kB / 0.7218 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.252, allocations: 12 kB / 0.7218 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-05/1.252, allocations: 23.91 kB / 0.7218 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.275, allocations: 16.79 MB / 0.7382 GB, free: 97.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.275, allocations: 0 / 0.7382 GB, free: 97.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/1.278, allocations: 0.8698 MB / 0.7391 GB, free: 97.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004047/1.282, allocations: 1.519 MB / 0.7405 GB, free: 95.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/1.282, allocations: 111.9 kB / 0.7407 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.296, allocations: 17.48 MB / 0.7577 GB, free: 77.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.296, allocations: 4 kB / 0.7577 GB, free: 77.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.311, allocations: 12.25 MB / 0.7697 GB, free: 64.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.313, allocations: 1.122 MB / 0.7708 GB, free: 63.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.314, allocations: 84 kB / 0.7709 GB, free: 63.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.316, allocations: 303.7 kB / 0.7712 GB, free: 63.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/1.317, allocations: 327.5 kB / 0.7715 GB, free: 62.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/1.317, allocations: 144 kB / 0.7716 GB, free: 62.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002826/1.32, allocations: 2.57 MB / 0.7741 GB, free: 60.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.32, allocations: 0 / 0.7741 GB, free: 60.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005874/1.325, allocations: 2.411 MB / 0.7765 GB, free: 57.67 MB / 0.5294 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.01452/1.34, allocations: 12.98 MB / 0.7891 GB, free: 44.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.352, allocations: 9.007 MB / 0.7979 GB, free: 35.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.352, allocations: 4 kB / 0.7979 GB, free: 35.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006445/1.358, allocations: 4.18 MB / 0.802 GB, free: 31.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.362, allocations: 0.745 MB / 0.8028 GB, free: 30.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3318/1.694, allocations: 61.23 MB / 0.8625 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00794/1.702, allocations: 6.049 MB / 0.8685 GB, free: 156.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007288/1.709, allocations: 3.25 MB / 0.8716 GB, free: 156.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004608/1.714, allocations: 3.072 MB / 0.8746 GB, free: 154.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.193e-06/1.714, allocations: 0 / 0.8746 GB, free: 154.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6005/2.314, allocations: 127.2 MB / 0.9989 GB, free: 43.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/24.65, allocations: 14.23 kB / 0.9989 GB, free: 43.26 MB / 0.545 GB " [Timeout remaining time 635] (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: 38.747907719051]