Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.006685/0.006685, allocations: 114 kB / 21.97 MB, free: 5.23 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.001702/0.001702, allocations: 207.6 kB / 25.27 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.6 MB / 236.1 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2942, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009362/0.3036, allocations: 9.982 MB / 407.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.3102, allocations: 3.38 MB / 410.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.3116, allocations: 77.06 kB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008905/0.3205, allocations: 3.883 MB / 414.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.3252, allocations: 1.453 MB / 415.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.3278, allocations: 1.175 MB / 417.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.3384, allocations: 9.212 MB / 426.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.3585, allocations: 12.95 MB / 439.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008726/0.3672, allocations: 5.171 MB / 444.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009973/0.3772, allocations: 6.149 MB / 450.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003166/0.3804, allocations: 1.398 MB / 452 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.3852, allocations: 1.625 MB / 453.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00359/0.3888, allocations: 2.93 MB / 456.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008482/0.3973, allocations: 5.455 MB / 462 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.4185, allocations: 18.74 MB / 480.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4185, allocations: 0 / 480.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4185, allocations: 0 / 480.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004155/0.419, allocations: 4 kB / 480.7 MB, free: 15.41 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.03571/0.4547, allocations: 12.39 MB / 493.1 MB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4547, allocations: 15.98 kB / 493.1 MB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002461/0.455, allocations: 242.4 kB / 493.4 MB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0038/0.4588, allocations: 1.332 MB / 494.7 MB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04638/0.5051, allocations: 8.538 MB / 0.4914 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.5177, allocations: 5.497 MB / 0.4968 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006496/0.5184, allocations: 0.6623 MB / 0.4975 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00336/0.5217, allocations: 0.8671 MB / 0.4983 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.5569, allocations: 15.98 MB / 0.5139 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.5571, allocations: 11.94 kB / 0.5139 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/0.559, allocations: 375.9 kB / 0.5143 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005492/0.5596, allocations: 0.5504 MB / 0.5148 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03121/0.5908, allocations: 15.72 MB / 0.5302 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4334/1.024, allocations: 46.59 MB / 0.5757 GB, free: 117.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/1.038, allocations: 8.476 MB / 0.5839 GB, free: 116.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/1.043, allocations: 3.24 MB / 0.5871 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/1.043, allocations: 103.7 kB / 0.5872 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.043, allocations: 87.16 kB / 0.5873 GB, free: 116.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.021e-06/1.043, allocations: 0.6562 kB / 0.5873 GB, free: 116.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.01898/1.062, allocations: 11.07 MB / 0.5981 GB, free: 112.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.062, allocations: 126.5 kB / 0.5982 GB, free: 112.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/1.067, allocations: 3.845 MB / 0.602 GB, free: 110.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006365/1.067, allocations: 100.9 kB / 0.6021 GB, free: 110.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.069, allocations: 4.047 MB / 0.606 GB, free: 107.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.07, allocations: 1.692 MB / 0.6077 GB, free: 106.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/1.072, allocations: 1.475 MB / 0.6091 GB, free: 105.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/1.072, allocations: 308.7 kB / 0.6094 GB, free: 105.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.076, allocations: 3.687 MB / 0.613 GB, free: 103.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004997/1.081, allocations: 6.521 MB / 0.6194 GB, free: 96.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009448/1.091, allocations: 10.83 MB / 0.63 GB, free: 84.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.451e-05/1.091, allocations: 28 kB / 0.63 GB, free: 84.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01615/1.107, allocations: 11.92 MB / 0.6416 GB, free: 72.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/1.107, allocations: 44 kB / 0.6417 GB, free: 72.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.107, allocations: 96 kB / 0.6418 GB, free: 72.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/1.111, allocations: 1.628 MB / 0.6434 GB, free: 70.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.117, allocations: 1.673 MB / 0.645 GB, free: 69.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.131, allocations: 17.04 MB / 0.6616 GB, free: 51.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.137, allocations: 0.9781 MB / 0.6626 GB, free: 50.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.138, allocations: 360.1 kB / 0.6629 GB, free: 50.19 MB / 478.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.005692/1.143, allocations: 3.758 MB / 0.6666 GB, free: 46.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009086/1.144, allocations: 413.3 kB / 0.667 GB, free: 46.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.158, allocations: 8.522 MB / 0.6753 GB, free: 37.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.158, allocations: 48 kB / 0.6754 GB, free: 37.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.135e-05/1.158, allocations: 16 kB / 0.6754 GB, free: 37.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/1.158, allocations: 27.84 kB / 0.6754 GB, free: 37.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/1.183, allocations: 16.81 MB / 0.6918 GB, free: 20.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.183, allocations: 8.25 kB / 0.6918 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.186, allocations: 0.8581 MB / 0.6927 GB, free: 19.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004052/1.19, allocations: 1.514 MB / 0.6941 GB, free: 18.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/1.191, allocations: 104 kB / 0.6942 GB, free: 17.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.205, allocations: 16.87 MB / 0.7107 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.205, allocations: 0 / 0.7107 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.225, allocations: 12.21 MB / 0.7226 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/1.228, allocations: 1.086 MB / 0.7237 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007696/1.228, allocations: 84 kB / 0.7238 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.231, allocations: 307.7 kB / 0.7241 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007112/1.231, allocations: 331.4 kB / 0.7244 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/1.232, allocations: 132 kB / 0.7245 GB, free: 2.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003782/1.236, allocations: 2.586 MB / 0.727 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.11e-07/1.236, allocations: 0 / 0.727 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007485/1.243, allocations: 2.411 MB / 0.7294 GB, free: 13.06 MB / 0.4982 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.0205/1.264, allocations: 12.91 MB / 0.742 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0147/1.278, allocations: 9.003 MB / 0.7508 GB, free: 6.816 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.278, allocations: 0 / 0.7508 GB, free: 6.816 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/1.285, allocations: 4.176 MB / 0.7549 GB, free: 2.562 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.289, allocations: 0.7352 MB / 0.7556 GB, free: 1.828 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2664/1.555, allocations: 61.47 MB / 0.8156 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005313/1.56, allocations: 6.038 MB / 0.8215 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005924/1.566, allocations: 3.258 MB / 0.8247 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004058/1.57, allocations: 3.042 MB / 0.8277 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.262e-06/1.57, allocations: 0 / 0.8277 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3904/1.961, allocations: 133.2 MB / 0.9578 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/21.91, allocations: 7.125 kB / 0.9578 GB, free: 150.2 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: 32.57154854998225]