Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.001736/0.001736, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00208/0.00208, allocations: 206.3 kB / 23.73 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01756/0.2767, allocations: 12.49 MB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009942/0.2866, allocations: 4.447 MB / 448 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.2895, allocations: 103.4 kB / 448.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.2929, allocations: 1.002 MB / 449.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.2982, allocations: 1.328 MB / 450.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.3014, allocations: 0.9197 MB / 451.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006331/0.3078, allocations: 4.157 MB / 455.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.3106, allocations: 1.805 MB / 457.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.3137, allocations: 1.971 MB / 459.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.3173, allocations: 2.23 MB / 461.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.3181, allocations: 0.5078 MB / 462.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3197, allocations: 0.7224 MB / 462.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.3209, allocations: 1.122 MB / 463.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.3235, allocations: 1.692 MB / 465.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008733/0.3323, allocations: 6.79 MB / 472.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3323, allocations: 0 / 472.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3323, allocations: 0 / 472.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001827/0.3325, allocations: 4 kB / 472.4 MB, free: 13.15 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01244/0.3449, allocations: 4.447 MB / 476.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3449, allocations: 12.03 kB / 476.9 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007683/0.3457, allocations: 455.8 kB / 477.3 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.3502, allocations: 0.83 MB / 478.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/0.3555, allocations: 2.377 MB / 480.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.3557, allocations: 250.6 kB / 480.7 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008022/0.3565, allocations: 320 kB / 481.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00836/0.3649, allocations: 4.429 MB / 485.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.889e-05/0.365, allocations: 3.953 kB / 485.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.3653, allocations: 131.9 kB / 485.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.3654, allocations: 150.4 kB / 485.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006378/0.3718, allocations: 3.601 MB / 489.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.3953, allocations: 12.3 MB / 0.4899 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/0.4005, allocations: 2.594 MB / 0.4924 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.4028, allocations: 1.277 MB / 0.4937 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.4092, allocations: 3.088 MB / 0.4967 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.4093, allocations: 51.86 kB / 0.4968 GB, free: 8.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.436e-06/0.4093, allocations: 0 / 0.4968 GB, free: 8.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01175/0.421, allocations: 5.233 MB / 0.5019 GB, free: 3.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4211, allocations: 68.72 kB / 0.5019 GB, free: 2.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.424, allocations: 1.836 MB / 0.5037 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4241, allocations: 45.7 kB / 0.5038 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.4254, allocations: 1.486 MB / 0.5052 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.4258, allocations: 0.4919 MB / 0.5057 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.4263, allocations: 319.4 kB / 0.506 GB, free: 14.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4265, allocations: 305.1 kB / 0.5063 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4276, allocations: 0.6793 MB / 0.507 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.4292, allocations: 1.226 MB / 0.5082 GB, free: 12.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.432, allocations: 2.01 MB / 0.5101 GB, free: 10.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4321, allocations: 4 kB / 0.5101 GB, free: 10.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004591/0.4366, allocations: 2.48 MB / 0.5126 GB, free: 7.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.4367, allocations: 12 kB / 0.5126 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.4367, allocations: 16 kB / 0.5126 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4379, allocations: 356.3 kB / 0.5129 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.4394, allocations: 383.3 kB / 0.5133 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008387/0.4478, allocations: 7.911 MB / 0.521 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4494, allocations: 75.91 kB / 0.5211 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4496, allocations: 79.98 kB / 0.5212 GB, free: 14.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001816/0.4514, allocations: 1.009 MB / 0.5221 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.4519, allocations: 206.7 kB / 0.5223 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.4561, allocations: 2.119 MB / 0.5244 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4561, allocations: 12 kB / 0.5244 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.4562, allocations: 15.94 kB / 0.5244 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.4562, allocations: 3.984 kB / 0.5244 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009184/0.4654, allocations: 4.612 MB / 0.5289 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4654, allocations: 4 kB / 0.5289 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/0.4662, allocations: 175.9 kB / 0.5291 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.4677, allocations: 0.5345 MB / 0.5296 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4679, allocations: 43.92 kB / 0.5297 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2253/0.6932, allocations: 12.49 MB / 0.5419 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6932, allocations: 3.25 kB / 0.5419 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.6979, allocations: 3.07 MB / 0.5449 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/0.6989, allocations: 360 kB / 0.5452 GB, free: 92.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.6991, allocations: 33.34 kB / 0.5452 GB, free: 92.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.7, allocations: 65.5 kB / 0.5453 GB, free: 92.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.7003, allocations: 116.7 kB / 0.5454 GB, free: 92.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.7004, allocations: 42.12 kB / 0.5455 GB, free: 92.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.7019, allocations: 1.231 MB / 0.5467 GB, free: 91.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7019, allocations: 96 / 0.5467 GB, free: 91.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001816/0.7037, allocations: 0.5904 MB / 0.5472 GB, free: 91.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004241/0.7079, allocations: 3.691 MB / 0.5508 GB, free: 90.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.7108, allocations: 2.202 MB / 0.553 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7108, allocations: 1.422 kB / 0.553 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.7128, allocations: 1.69 MB / 0.5546 GB, free: 87.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.7151, allocations: 0.5564 MB / 0.5552 GB, free: 87.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/0.7379, allocations: 20.11 MB / 0.5748 GB, free: 68.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.7392, allocations: 1.757 MB / 0.5765 GB, free: 66.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.7404, allocations: 405.2 kB / 0.5769 GB, free: 66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7416, allocations: 1.144 MB / 0.578 GB, free: 64.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7416, allocations: 8 kB / 0.5781 GB, free: 64.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.8419, allocations: 58.38 MB / 0.6351 GB, free: 7.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.71, allocations: 8 kB / 0.6351 GB, free: 7.059 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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: 18.378019716998097]