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.001805/0.001805, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002261/0.002261, allocations: 215 kB / 24.47 MB, free: 3.777 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.341/1.341, allocations: 207.7 MB / 235.3 MB, free: 9.801 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="me",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="me",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.001833/0.001833, allocations: 59.86 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2183, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008897/0.2272, allocations: 8.63 MB / 405 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.2331, allocations: 3.219 MB / 408.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.2347, allocations: 71.75 kB / 408.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008643/0.2433, allocations: 3.589 MB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.2483, allocations: 1.419 MB / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.2511, allocations: 1.106 MB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2612, allocations: 9.217 MB / 423.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01983/0.281, allocations: 12.83 MB / 436.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/0.2887, allocations: 5.183 MB / 441.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009512/0.2982, allocations: 6.028 MB / 447.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003364/0.3015, allocations: 1.395 MB / 449.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/0.3064, allocations: 1.621 MB / 450.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.3104, allocations: 2.927 MB / 453.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007085/0.3175, allocations: 4.273 MB / 457.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.336, allocations: 18.83 MB / 476.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.336, allocations: 4 kB / 476.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.336, allocations: 0 / 476.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002813/0.3363, allocations: 4 kB / 476.7 MB, free: 2.453 MB / 382.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.0315/0.3678, allocations: 12.37 MB / 489.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3678, allocations: 19.98 kB / 489.1 MB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003873/0.3717, allocations: 1.324 MB / 490.4 MB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04705/0.4188, allocations: 8.546 MB / 499 MB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.4337, allocations: 5.501 MB / 0.4926 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007074/0.4344, allocations: 0.6623 MB / 0.4933 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/0.4377, allocations: 0.8631 MB / 0.4941 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/0.4744, allocations: 16.23 MB / 0.51 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002426/0.4747, allocations: 15.94 kB / 0.51 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001706/0.4764, allocations: 371.9 kB / 0.5104 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000621/0.477, allocations: 0.5543 MB / 0.5109 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03155/0.5085, allocations: 15.63 MB / 0.5262 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3917/0.9003, allocations: 42.98 MB / 0.5681 GB, free: 116.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.9145, allocations: 8.422 MB / 0.5764 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.9188, allocations: 3.243 MB / 0.5795 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.9191, allocations: 89.44 kB / 0.5796 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.9191, allocations: 91.81 kB / 0.5797 GB, free: 116.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 7.484e-06/0.9191, allocations: 0 / 0.5797 GB, free: 116.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.0213/0.9404, allocations: 11.05 MB / 0.5905 GB, free: 113.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.9405, allocations: 130.3 kB / 0.5906 GB, free: 113.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.9455, allocations: 4.025 MB / 0.5946 GB, free: 112.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007524/0.9462, allocations: 100.7 kB / 0.5946 GB, free: 112.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.948, allocations: 4.049 MB / 0.5986 GB, free: 109.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.9493, allocations: 1.686 MB / 0.6002 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.9514, allocations: 1.474 MB / 0.6017 GB, free: 107.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.9514, allocations: 309.1 kB / 0.602 GB, free: 107.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/0.9562, allocations: 3.685 MB / 0.6056 GB, free: 105.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/0.9623, allocations: 6.526 MB / 0.612 GB, free: 100.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.9729, allocations: 10.83 MB / 0.6225 GB, free: 90.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.935e-05/0.9729, allocations: 24 kB / 0.6226 GB, free: 90.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01692/0.9899, allocations: 11.92 MB / 0.6342 GB, free: 78.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.9899, allocations: 47.94 kB / 0.6342 GB, free: 78.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.99, allocations: 92 kB / 0.6343 GB, free: 78.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004343/0.9944, allocations: 1.625 MB / 0.6359 GB, free: 77.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/0.9999, allocations: 1.669 MB / 0.6375 GB, free: 75.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.015, allocations: 16.86 MB / 0.654 GB, free: 57.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/1.02, allocations: 0.9742 MB / 0.655 GB, free: 56.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.021, allocations: 354.6 kB / 0.6553 GB, free: 56.63 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.00545/1.027, allocations: 3.758 MB / 0.659 GB, free: 52.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/1.028, allocations: 413.4 kB / 0.6594 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.039, allocations: 8.522 MB / 0.6677 GB, free: 43.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.039, allocations: 48 kB / 0.6677 GB, free: 43.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/1.039, allocations: 12 kB / 0.6677 GB, free: 43.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.039, allocations: 27.89 kB / 0.6678 GB, free: 43.76 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.063, allocations: 16.18 MB / 0.6836 GB, free: 27.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.063, allocations: 0 / 0.6836 GB, free: 27.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/1.066, allocations: 0.862 MB / 0.6844 GB, free: 26.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004226/1.071, allocations: 1.511 MB / 0.6859 GB, free: 25.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007698/1.071, allocations: 108 kB / 0.686 GB, free: 25.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/1.086, allocations: 16.66 MB / 0.7023 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.086, allocations: 3.938 kB / 0.7023 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/1.105, allocations: 12.22 MB / 0.7142 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/1.109, allocations: 1.082 MB / 0.7153 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007255/1.11, allocations: 87.98 kB / 0.7153 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.112, allocations: 307.7 kB / 0.7156 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/1.113, allocations: 339.2 kB / 0.716 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/1.113, allocations: 140 kB / 0.7161 GB, free: 9.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003937/1.117, allocations: 2.574 MB / 0.7186 GB, free: 6.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.117, allocations: 0 / 0.7186 GB, free: 6.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006745/1.124, allocations: 2.396 MB / 0.7209 GB, free: 4.367 MB / 494.1 MB 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.02108/1.145, allocations: 12.93 MB / 0.7336 GB, free: 7.215 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.16, allocations: 8.993 MB / 0.7423 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.16, allocations: 7.938 kB / 0.7424 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007418/1.168, allocations: 4.168 MB / 0.7464 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.171, allocations: 0.7422 MB / 0.7472 GB, free: 9.109 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.243/1.414, allocations: 61.45 MB / 0.8072 GB, free: 140 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/1.42, allocations: 5.577 MB / 0.8126 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006611/1.426, allocations: 3.254 MB / 0.8158 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004256/1.43, allocations: 3.042 MB / 0.8188 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.232e-06/1.43, allocations: 4 kB / 0.8188 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/1.616, allocations: 127.4 MB / 0.9432 GB, free: 0.6523 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.63/23.25, allocations: 4.062 kB / 0.9432 GB, free: 0.6484 MB / 0.5138 GB " [Timeout remaining time 637] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 33.763690943829715]