Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001351/0.001351, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001532/0.001532, allocations: 214.5 kB / 23.75 MB, free: 4.523 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2621, allocations: 53.37 MB / 431.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009021/0.2711, allocations: 6.694 MB / 437.8 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.2757, allocations: 2.281 MB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.2768, allocations: 51.69 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.278, allocations: 381.5 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.2807, allocations: 0.8628 MB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2817, allocations: 367.2 kB / 441.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004538/0.2862, allocations: 3.187 MB / 445 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.2882, allocations: 1.102 MB / 446.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.2903, allocations: 1.332 MB / 447.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.2932, allocations: 1.654 MB / 449 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007465/0.2939, allocations: 300 kB / 449.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.2953, allocations: 427.9 kB / 449.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.2967, allocations: 0.8606 MB / 450.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.2994, allocations: 1.466 MB / 452.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006002/0.3054, allocations: 4.111 MB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3054, allocations: 0 / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3054, allocations: 3.938 kB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001657/0.3056, allocations: 3.938 kB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0103/0.3159, allocations: 3.478 MB / 459.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3159, allocations: 12.03 kB / 459.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/0.317, allocations: 337.1 kB / 460 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/0.3216, allocations: 0.7563 MB / 460.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/0.3258, allocations: 1.687 MB / 462.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.326, allocations: 173 kB / 462.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.3267, allocations: 231.9 kB / 462.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.334, allocations: 3.207 MB / 466.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.334, allocations: 3.938 kB / 466.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.3344, allocations: 92 kB / 466.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-05/0.3345, allocations: 70 kB / 466.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.3405, allocations: 2.866 MB / 469.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.3586, allocations: 9.046 MB / 478.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.3627, allocations: 1.834 MB / 480 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.364, allocations: 0.7696 MB / 480.7 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004577/0.3686, allocations: 2.253 MB / 483 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/0.3686, allocations: 46.88 kB / 483 MB, free: 2.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.635e-06/0.3686, allocations: 0 / 483 MB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009273/0.3779, allocations: 4.138 MB / 487.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.378, allocations: 111.2 kB / 487.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/0.3808, allocations: 1.625 MB / 488.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.381, allocations: 41.7 kB / 489 MB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.3821, allocations: 1.141 MB / 490.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.3825, allocations: 372.9 kB / 490.5 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/0.383, allocations: 238.8 kB / 490.7 MB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.3832, allocations: 361.9 kB / 491 MB, free: 10.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3845, allocations: 0.6349 MB / 491.7 MB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.3861, allocations: 1.015 MB / 492.7 MB, free: 8.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.3889, allocations: 1.698 MB / 494.4 MB, free: 6.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.3889, allocations: 4 kB / 494.4 MB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003894/0.3928, allocations: 1.952 MB / 496.4 MB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.3928, allocations: 12.5 kB / 496.4 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.3928, allocations: 15.94 kB / 496.4 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.3933, allocations: 125.6 kB / 496.5 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.3946, allocations: 331.5 kB / 496.8 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.3982, allocations: 3.236 MB / 0.4883 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3994, allocations: 99.67 kB / 0.4884 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.3996, allocations: 55.98 kB / 0.4885 GB, free: 428 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001692/0.4012, allocations: 0.8368 MB / 0.4893 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.4017, allocations: 167.3 kB / 0.4895 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.4046, allocations: 1.378 MB / 0.4908 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4046, allocations: 15.98 kB / 0.4908 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4046, allocations: 15.81 kB / 0.4908 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4046, allocations: 3.984 kB / 0.4908 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/0.4097, allocations: 2.436 MB / 0.4932 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4097, allocations: 8.031 kB / 0.4932 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.4106, allocations: 183.8 kB / 0.4934 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007346/0.4113, allocations: 262.2 kB / 0.4937 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.923e-05/0.4114, allocations: 35.97 kB / 0.4937 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/0.4182, allocations: 5.937 MB / 0.4995 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4182, allocations: 0 / 0.4995 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.4226, allocations: 2.558 MB / 0.502 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.4233, allocations: 182.9 kB / 0.5022 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/0.4236, allocations: 31.92 kB / 0.5022 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.4246, allocations: 87.91 kB / 0.5023 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.4248, allocations: 104.2 kB / 0.5024 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.4249, allocations: 31.98 kB / 0.5024 GB, free: 1.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.4269, allocations: 1.135 MB / 0.5035 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4269, allocations: 4 kB / 0.5035 GB, free: 0.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001715/0.4286, allocations: 440 kB / 0.5039 GB, free: 116 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004899/0.4335, allocations: 3.172 MB / 0.507 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.4367, allocations: 1.664 MB / 0.5087 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4368, allocations: 1.75 kB / 0.5087 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.4389, allocations: 1.156 MB / 0.5098 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.4409, allocations: 284.8 kB / 0.5101 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/0.4744, allocations: 17.48 MB / 0.5271 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/0.4772, allocations: 2.109 MB / 0.5292 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.4786, allocations: 459.5 kB / 0.5296 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.4799, allocations: 0.8273 MB / 0.5304 GB, free: 4.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4799, allocations: 0 / 0.5304 GB, free: 4.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3671/0.847, allocations: 39.59 MB / 0.5691 GB, free: 80.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.32, allocations: 0 / 0.5691 GB, free: 80.04 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.339543333975598]