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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 105.6 kB / 17.06 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.259, allocations: 49.45 MB / 400.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01112/0.2702, allocations: 9.984 MB / 410.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006691/0.2769, allocations: 3.326 MB / 413.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.2778, allocations: 75.75 kB / 413.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.2856, allocations: 3.829 MB / 417.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.2894, allocations: 1.52 MB / 419 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2914, allocations: 1.04 MB / 420 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009539/0.301, allocations: 9.138 MB / 429.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02754/0.3285, allocations: 20.32 MB / 449.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007866/0.3364, allocations: 5.074 MB / 454.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.347, allocations: 6.071 MB / 460.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00396/0.351, allocations: 1.395 MB / 462 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/0.3566, allocations: 1.64 MB / 463.7 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004126/0.3607, allocations: 2.919 MB / 466.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008601/0.3693, allocations: 5.455 MB / 472 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.3875, allocations: 18.83 MB / 490.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3876, allocations: 4 kB / 490.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3876, allocations: 0 / 490.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003522/0.388, allocations: 7.938 kB / 490.9 MB, free: 13.94 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.034/0.422, allocations: 12.26 MB / 0.4913 GB, free: 1.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.422, allocations: 15.89 kB / 0.4914 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004091/0.4261, allocations: 1.324 MB / 0.4927 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0456/0.4718, allocations: 8.502 MB / 0.501 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.4862, allocations: 5.879 MB / 0.5067 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007604/0.487, allocations: 0.6623 MB / 0.5073 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004329/0.4914, allocations: 0.871 MB / 0.5082 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.5317, allocations: 15.98 MB / 0.5238 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003401/0.532, allocations: 11.91 kB / 0.5238 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003098/0.5352, allocations: 368 kB / 0.5242 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005687/0.5357, allocations: 0.5582 MB / 0.5247 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4142/0.95, allocations: 15.72 MB / 0.5401 GB, free: 114.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05748/1.007, allocations: 47.72 MB / 0.5867 GB, free: 83.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.021, allocations: 19.34 MB / 0.6056 GB, free: 61.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003324/1.024, allocations: 3.59 MB / 0.6091 GB, free: 58.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/1.024, allocations: 175.3 kB / 0.6092 GB, free: 58.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.024, allocations: 86.55 kB / 0.6093 GB, free: 58.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 7.013e-06/1.024, allocations: 0 / 0.6093 GB, free: 58.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01793/1.042, allocations: 11.55 MB / 0.6206 GB, free: 46.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.042, allocations: 125.1 kB / 0.6207 GB, free: 46.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/1.046, allocations: 3.843 MB / 0.6245 GB, free: 42.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/1.047, allocations: 105.7 kB / 0.6246 GB, free: 42.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.048, allocations: 3.889 MB / 0.6284 GB, free: 38.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/1.049, allocations: 1.607 MB / 0.6299 GB, free: 36.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.05, allocations: 1.468 MB / 0.6314 GB, free: 35.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.311e-05/1.05, allocations: 301.1 kB / 0.6317 GB, free: 35.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.054, allocations: 3.684 MB / 0.6352 GB, free: 31.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/1.059, allocations: 6.526 MB / 0.6416 GB, free: 23.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008646/1.067, allocations: 10.82 MB / 0.6522 GB, free: 11.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.48e-05/1.067, allocations: 28 kB / 0.6522 GB, free: 11.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01548/1.083, allocations: 11.95 MB / 0.6639 GB, free: 15.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/1.083, allocations: 47.98 kB / 0.6639 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.083, allocations: 92 kB / 0.664 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004864/1.088, allocations: 1.617 MB / 0.6656 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006131/1.094, allocations: 1.665 MB / 0.6672 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/1.116, allocations: 17.67 MB / 0.6845 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00693/1.123, allocations: 0.9446 MB / 0.6854 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.125, allocations: 364 kB / 0.6858 GB, free: 8.02 MB / 494.1 MB 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.00896/1.134, allocations: 3.754 MB / 0.6894 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.135, allocations: 391.1 kB / 0.6898 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/1.151, allocations: 8.572 MB / 0.6982 GB, free: 11.21 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-05/1.152, allocations: 51.94 kB / 0.6982 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-05/1.152, allocations: 12 kB / 0.6982 GB, free: 11.14 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/1.152, allocations: 27.89 kB / 0.6983 GB, free: 11.12 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/1.183, allocations: 16.77 MB / 0.7146 GB, free: 10.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.183, allocations: 4 kB / 0.7146 GB, free: 10.16 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/1.186, allocations: 0.862 MB / 0.7155 GB, free: 9.301 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004741/1.191, allocations: 1.515 MB / 0.717 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/1.192, allocations: 111.9 kB / 0.7171 GB, free: 7.656 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.211, allocations: 17.46 MB / 0.7341 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.211, allocations: 7.938 kB / 0.7341 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2313/1.443, allocations: 12.23 MB / 0.7461 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.445, allocations: 1.102 MB / 0.7471 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/1.446, allocations: 83.03 kB / 0.7472 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.448, allocations: 309.7 kB / 0.7475 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/1.449, allocations: 318.3 kB / 0.7478 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.449, allocations: 143 kB / 0.748 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003166/1.452, allocations: 2.574 MB / 0.7505 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.452, allocations: 0 / 0.7505 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006044/1.458, allocations: 2.373 MB / 0.7528 GB, free: 172.9 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.0147/1.473, allocations: 12.96 MB / 0.7654 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.484, allocations: 9.381 MB / 0.7746 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.484, allocations: 2.75 kB / 0.7746 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005405/1.489, allocations: 4.471 MB / 0.779 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.493, allocations: 0.7359 MB / 0.7797 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07303/1.566, allocations: 61.15 MB / 0.8394 GB, free: 95.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00427/1.57, allocations: 6.044 MB / 0.8453 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005806/1.576, allocations: 3.259 MB / 0.8485 GB, free: 86.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003667/1.58, allocations: 3.038 MB / 0.8515 GB, free: 83.47 MB / 0.5294 GB Notification: Performance of SimCode: time 1.263e-06/1.58, allocations: 0 / 0.8515 GB, free: 83.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.089/3.669, allocations: 126.2 MB / 0.9747 GB, free: 175.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/23.09, allocations: 2.188 kB / 0.9747 GB, free: 175.8 MB / 0.545 GB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches