Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_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_0_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.001446/0.001446, allocations: 51.92 kB / 365.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01218/0.1229, allocations: 10.04 MB / 427.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.1299, allocations: 3.353 MB / 431.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.132, allocations: 75.75 kB / 431.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009357/0.1413, allocations: 3.868 MB / 435.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.146, allocations: 1.515 MB / 436.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.1485, allocations: 1.047 MB / 437.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2248/0.3734, allocations: 9.134 MB / 446.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01945/0.3928, allocations: 15.8 MB / 462.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007169/0.4, allocations: 5.069 MB / 467.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.4103, allocations: 6.131 MB / 473.8 MB, free: 84 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003672/0.414, allocations: 1.398 MB / 475.2 MB, free: 84 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.4188, allocations: 1.635 MB / 476.8 MB, free: 4 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003902/0.4227, allocations: 2.929 MB / 479.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009264/0.432, allocations: 5.452 MB / 485.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02067/0.4527, allocations: 18.88 MB / 0.4923 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4527, allocations: 0 / 0.4923 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4527, allocations: 3.656 kB / 0.4923 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004671/0.4531, allocations: 4 kB / 0.4923 GB, free: 10.68 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.03517/0.4883, allocations: 12.47 MB / 0.5045 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4884, allocations: 11.89 kB / 0.5045 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004195/0.4926, allocations: 1.328 MB / 0.5058 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04623/0.5388, allocations: 8.542 MB / 0.5141 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.5546, allocations: 5.901 MB / 0.5199 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006944/0.5553, allocations: 0.6581 MB / 0.5205 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003882/0.5592, allocations: 0.8741 MB / 0.5214 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.5995, allocations: 15.98 MB / 0.537 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/0.5998, allocations: 11.94 kB / 0.537 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.6013, allocations: 367 kB / 0.5373 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006055/0.6019, allocations: 0.5541 MB / 0.5379 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03287/0.6348, allocations: 15.72 MB / 0.5532 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09308/0.7279, allocations: 47.84 MB / 0.6 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02308/0.751, allocations: 18.86 MB / 0.6184 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006028/0.757, allocations: 3.242 MB / 0.6215 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.7574, allocations: 176.7 kB / 0.6217 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.7575, allocations: 94.5 kB / 0.6218 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=468): time 6.011e-06/0.7576, allocations: 0 / 0.6218 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=468): time 0.02513/0.7827, allocations: 11.52 MB / 0.633 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7828, allocations: 129.1 kB / 0.6332 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006844/0.7896, allocations: 3.851 MB / 0.6369 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009299/0.7906, allocations: 101.1 kB / 0.637 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003505/0.7941, allocations: 4.052 MB / 0.641 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.4331/1.227, allocations: 1.685 MB / 0.6426 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002682/1.23, allocations: 1.473 MB / 0.6441 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/1.23, allocations: 307.8 kB / 0.6444 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.235, allocations: 3.684 MB / 0.648 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/1.242, allocations: 6.52 MB / 0.6543 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.255, allocations: 10.83 MB / 0.6649 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.256, allocations: 26.53 kB / 0.6649 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02318/1.279, allocations: 11.93 MB / 0.6766 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.279, allocations: 49.31 kB / 0.6766 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/1.279, allocations: 92.56 kB / 0.6767 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007006/1.286, allocations: 1.622 MB / 0.6783 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009366/1.295, allocations: 1.667 MB / 0.6799 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/1.318, allocations: 17.66 MB / 0.6972 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008764/1.326, allocations: 0.9742 MB / 0.6981 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.328, allocations: 358.9 kB / 0.6985 GB, free: 126.4 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.006271/1.334, allocations: 3.762 MB / 0.7021 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009143/1.335, allocations: 405.3 kB / 0.7025 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.347, allocations: 8.53 MB / 0.7109 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/1.347, allocations: 48.62 kB / 0.7109 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/1.347, allocations: 12 kB / 0.7109 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/1.347, allocations: 30.58 kB / 0.7109 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/1.372, allocations: 16.74 MB / 0.7273 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.372, allocations: 1.938 kB / 0.7273 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.375, allocations: 0.8641 MB / 0.7281 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/1.379, allocations: 1.52 MB / 0.7296 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/1.379, allocations: 102 kB / 0.7297 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.393, allocations: 17.47 MB / 0.7468 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.393, allocations: 4 kB / 0.7468 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.409, allocations: 12.21 MB / 0.7587 GB, free: 70.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003326/1.412, allocations: 1.123 MB / 0.7598 GB, free: 69.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/1.413, allocations: 84 kB / 0.7599 GB, free: 69.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.415, allocations: 307.7 kB / 0.7602 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006697/1.416, allocations: 318.5 kB / 0.7605 GB, free: 68.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.416, allocations: 140 kB / 0.7606 GB, free: 68.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003189/1.419, allocations: 2.574 MB / 0.7631 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.419, allocations: 0 / 0.7631 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006261/1.426, allocations: 2.404 MB / 0.7655 GB, free: 63.66 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.01439/1.44, allocations: 12.93 MB / 0.7781 GB, free: 50.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.012/1.452, allocations: 9.008 MB / 0.7869 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.452, allocations: 0 / 0.7869 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.458, allocations: 4.164 MB / 0.791 GB, free: 37.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/1.463, allocations: 0.7312 MB / 0.7917 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08894/1.552, allocations: 61.32 MB / 0.8516 GB, free: 3.391 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.217/1.769, allocations: 6.039 MB / 0.8575 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009725/1.778, allocations: 3.252 MB / 0.8606 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008029/1.786, allocations: 3.046 MB / 0.8636 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of SimCode: time 2.114e-06/1.786, allocations: 1.219 kB / 0.8636 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1922/1.979, allocations: 126.6 MB / 0.9872 GB, free: 91.36 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.29/21.26, allocations: 4.438 kB / 0.9872 GB, free: 91.35 MB / 0.5607 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 28.961506583262235]