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.001302/0.001302, allocations: 108.2 kB / 21.18 MB, free: 0.5586 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.001491/0.001491, allocations: 212.6 kB / 24.49 MB, free: 3.91 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.61/1.61, allocations: 207.6 MB / 235.3 MB, free: 9.984 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.002113/0.002113, allocations: 47.94 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 49.17 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01011/0.296, allocations: 9.975 MB / 406.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007753/0.3037, allocations: 3.391 MB / 409.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.3061, allocations: 73.12 kB / 409.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.317, allocations: 3.875 MB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007334/0.3243, allocations: 1.447 MB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.3283, allocations: 1.182 MB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.3415, allocations: 9.216 MB / 425.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02573/0.3673, allocations: 12.95 MB / 438.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009488/0.3768, allocations: 5.179 MB / 443.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.3875, allocations: 6.149 MB / 449.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003621/0.3911, allocations: 1.398 MB / 451.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.3968, allocations: 1.625 MB / 452.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005322/0.4021, allocations: 2.934 MB / 455.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.4126, allocations: 5.451 MB / 461.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0246/0.4372, allocations: 18.75 MB / 480 MB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4372, allocations: 0 / 480 MB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4372, allocations: 0 / 480 MB, free: 15.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004483/0.4377, allocations: 0 / 480 MB, free: 15.38 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.03953/0.4772, allocations: 12.38 MB / 492.3 MB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4773, allocations: 15.92 kB / 492.4 MB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005024/0.4823, allocations: 1.336 MB / 493.7 MB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/0.5318, allocations: 8.546 MB / 0.4905 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.5473, allocations: 5.493 MB / 0.4958 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000977/0.5482, allocations: 0.6623 MB / 0.4965 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004127/0.5524, allocations: 0.8632 MB / 0.4973 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/0.596, allocations: 15.97 MB / 0.5129 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/0.5964, allocations: 11.94 kB / 0.5129 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00322/0.5996, allocations: 379.9 kB / 0.5133 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007165/0.6003, allocations: 0.5582 MB / 0.5138 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03495/0.6353, allocations: 15.71 MB / 0.5292 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4686/1.104, allocations: 46.59 MB / 0.5747 GB, free: 115.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.121, allocations: 8.467 MB / 0.5829 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005241/1.127, allocations: 3.239 MB / 0.5861 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/1.127, allocations: 103.4 kB / 0.5862 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/1.127, allocations: 88.86 kB / 0.5863 GB, free: 115.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 8.977e-06/1.127, allocations: 3.938 kB / 0.5863 GB, free: 115.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.0229/1.15, allocations: 11.07 MB / 0.5971 GB, free: 111.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/1.15, allocations: 130.4 kB / 0.5972 GB, free: 111.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007702/1.158, allocations: 3.847 MB / 0.601 GB, free: 109.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008968/1.159, allocations: 104.9 kB / 0.6011 GB, free: 109.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.162, allocations: 4.046 MB / 0.605 GB, free: 107 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001994/1.164, allocations: 1.687 MB / 0.6067 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004893/1.168, allocations: 1.47 MB / 0.6081 GB, free: 104.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/1.169, allocations: 305.1 kB / 0.6084 GB, free: 104.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005759/1.174, allocations: 3.687 MB / 0.612 GB, free: 102.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007665/1.182, allocations: 6.523 MB / 0.6184 GB, free: 96.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.194, allocations: 10.83 MB / 0.629 GB, free: 84.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.194, allocations: 28 kB / 0.629 GB, free: 84.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02142/1.215, allocations: 11.93 MB / 0.6406 GB, free: 72.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.215, allocations: 44 kB / 0.6407 GB, free: 72.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.216, allocations: 92 kB / 0.6408 GB, free: 72.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/1.22, allocations: 1.626 MB / 0.6423 GB, free: 71.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/1.226, allocations: 1.669 MB / 0.644 GB, free: 69.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.243, allocations: 17.05 MB / 0.6606 GB, free: 51.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006166/1.25, allocations: 0.9703 MB / 0.6616 GB, free: 50.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.251, allocations: 364.1 kB / 0.6619 GB, free: 50.34 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.007912/1.259, allocations: 3.753 MB / 0.6656 GB, free: 46.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.26, allocations: 417.3 kB / 0.666 GB, free: 46.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.276, allocations: 8.522 MB / 0.6743 GB, free: 37.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/1.276, allocations: 51.94 kB / 0.6744 GB, free: 37.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/1.276, allocations: 15.94 kB / 0.6744 GB, free: 37.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/1.276, allocations: 23.91 kB / 0.6744 GB, free: 37.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03355/1.309, allocations: 16.81 MB / 0.6908 GB, free: 20.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/1.309, allocations: 0 / 0.6908 GB, free: 20.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/1.313, allocations: 0.862 MB / 0.6917 GB, free: 19.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00434/1.317, allocations: 1.511 MB / 0.6931 GB, free: 18.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008313/1.318, allocations: 104 kB / 0.6932 GB, free: 18.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.335, allocations: 16.87 MB / 0.7097 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.335, allocations: 4 kB / 0.7097 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.36, allocations: 12.21 MB / 0.7216 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003959/1.364, allocations: 1.086 MB / 0.7227 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.365, allocations: 87.98 kB / 0.7228 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/1.369, allocations: 299.6 kB / 0.7231 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/1.37, allocations: 339.4 kB / 0.7234 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008079/1.371, allocations: 139.9 kB / 0.7235 GB, free: 2.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005832/1.377, allocations: 2.57 MB / 0.726 GB, free: 15.64 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.5e-07/1.377, allocations: 3.938 kB / 0.726 GB, free: 15.63 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.00936/1.386, allocations: 2.411 MB / 0.7284 GB, free: 13.21 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.02476/1.411, allocations: 12.92 MB / 0.741 GB, free: 76 kB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01897/1.43, allocations: 9 MB / 0.7498 GB, free: 6.965 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.43, allocations: 448 / 0.7498 GB, free: 6.965 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009776/1.44, allocations: 4.171 MB / 0.7539 GB, free: 2.719 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/1.446, allocations: 0.7396 MB / 0.7546 GB, free: 1.98 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3076/1.753, allocations: 61.46 MB / 0.8146 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006986/1.76, allocations: 6.042 MB / 0.8205 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00712/1.767, allocations: 3.254 MB / 0.8237 GB, free: 125.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/1.772, allocations: 3.042 MB / 0.8267 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of SimCode: time 2.054e-06/1.772, allocations: 0 / 0.8267 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4199/2.192, allocations: 133.2 MB / 0.9567 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/23.76, allocations: 4.906 kB / 0.9567 GB, free: 149.3 MB / 0.5294 GB " [Timeout remaining time 636] (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: 30.88716397783719]