Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 124.7 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 190.9 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_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_0_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.001884/0.001884, allocations: 43.92 kB / 365.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01654/0.1412, allocations: 13.71 MB / 431.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.15, allocations: 4.435 MB / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.152, allocations: 79.75 kB / 436 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.1547, allocations: 1.045 MB / 437.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.1584, allocations: 1.363 MB / 438.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1604, allocations: 0.8794 MB / 439.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0053/0.1657, allocations: 4.09 MB / 443.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.1687, allocations: 2.25 MB / 445.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2186/0.3872, allocations: 1.894 MB / 447.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.3912, allocations: 2.113 MB / 449.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.3926, allocations: 0.5084 MB / 450.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.3948, allocations: 0.7139 MB / 450.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.3959, allocations: 1.122 MB / 452 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003648/0.3996, allocations: 2.132 MB / 454.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008705/0.4083, allocations: 6.734 MB / 460.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4083, allocations: 0 / 460.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4083, allocations: 0 / 460.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002466/0.4085, allocations: 2.781 kB / 460.9 MB, free: 8.309 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01918/0.4277, allocations: 4.49 MB / 465.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4278, allocations: 13.61 kB / 465.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/0.4295, allocations: 465.5 kB / 465.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.4345, allocations: 0.8295 MB / 466.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/0.441, allocations: 2.447 MB / 469.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.4413, allocations: 244.9 kB / 469.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.4427, allocations: 319.9 kB / 469.6 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008053/0.4507, allocations: 4.271 MB / 473.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/0.4508, allocations: 2.719 kB / 473.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/0.4511, allocations: 130.4 kB / 474 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.4513, allocations: 148.3 kB / 474.2 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005957/0.4572, allocations: 3.604 MB / 477.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.4854, allocations: 13.74 MB / 491.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007605/0.493, allocations: 6.424 MB / 498 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.4954, allocations: 1.277 MB / 499.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007586/0.503, allocations: 3.632 MB / 0.4911 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.503, allocations: 47.88 kB / 0.4911 GB, free: 11.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.296e-06/0.503, allocations: 0 / 0.4911 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01231/0.5153, allocations: 5.896 MB / 0.4969 GB, free: 5.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.5154, allocations: 64.72 kB / 0.4969 GB, free: 5.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/0.5188, allocations: 1.788 MB / 0.4987 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.519, allocations: 49.7 kB / 0.4987 GB, free: 3.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.5204, allocations: 1.48 MB / 0.5002 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/0.5209, allocations: 497 kB / 0.5007 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/0.5216, allocations: 323.4 kB / 0.501 GB, free: 1.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5217, allocations: 305.1 kB / 0.5013 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.523, allocations: 0.6793 MB / 0.5019 GB, free: 312 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.5247, allocations: 1.201 MB / 0.5031 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.5278, allocations: 1.995 MB / 0.505 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.5278, allocations: 8 kB / 0.5051 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004813/0.5326, allocations: 2.539 MB / 0.5075 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5326, allocations: 12.62 kB / 0.5075 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.5327, allocations: 16 kB / 0.5076 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5338, allocations: 361.5 kB / 0.5079 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.5351, allocations: 381.1 kB / 0.5083 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008489/0.5436, allocations: 8.428 MB / 0.5165 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.5452, allocations: 71.97 kB / 0.5166 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5454, allocations: 71.98 kB / 0.5166 GB, free: 484 kB / 414.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.002032/0.5474, allocations: 1.006 MB / 0.5176 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.5478, allocations: 201.4 kB / 0.5178 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.5519, allocations: 2.274 MB / 0.52 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5519, allocations: 12 kB / 0.52 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5519, allocations: 8 kB / 0.52 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5519, allocations: 15.91 kB / 0.5201 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.5614, allocations: 5.055 MB / 0.525 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.5614, allocations: 4 kB / 0.525 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.5622, allocations: 173.5 kB / 0.5252 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.5636, allocations: 0.5264 MB / 0.5257 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.5637, allocations: 39.98 kB / 0.5257 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.5775, allocations: 13.23 MB / 0.5386 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5775, allocations: 4.109 kB / 0.5386 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/0.583, allocations: 3.212 MB / 0.5418 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.5842, allocations: 435.6 kB / 0.5422 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.5845, allocations: 39.92 kB / 0.5422 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/0.5854, allocations: 59.95 kB / 0.5423 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.5857, allocations: 112.5 kB / 0.5424 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.5858, allocations: 36 kB / 0.5424 GB, free: 5.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002001/0.5878, allocations: 1.223 MB / 0.5436 GB, free: 3.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5878, allocations: 0 / 0.5436 GB, free: 3.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002341/0.5902, allocations: 0.582 MB / 0.5442 GB, free: 3.352 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.005542/0.5957, allocations: 3.827 MB / 0.5479 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003827/0.5995, allocations: 2.291 MB / 0.5502 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5995, allocations: 0 / 0.5502 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.6023, allocations: 1.686 MB / 0.5518 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.6054, allocations: 0.5365 MB / 0.5523 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.6404, allocations: 20.22 MB / 0.5721 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/0.6429, allocations: 2.307 MB / 0.5743 GB, free: 3.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.6443, allocations: 405 kB / 0.5747 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/0.646, allocations: 1.132 MB / 0.5758 GB, free: 2.215 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/0.646, allocations: 0 / 0.5758 GB, free: 2.215 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.7674, allocations: 53.85 MB / 0.6284 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.76, allocations: 11.09 kB / 0.6284 GB, free: 12.91 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 19.39023328386247]