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.001285/0.001285, allocations: 105.6 kB / 20.43 MB, free: 1.309 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.001398/0.001398, allocations: 184.3 kB / 23.72 MB, free: 4.562 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001719/0.001719, allocations: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.266, allocations: 52.19 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01782/0.2839, allocations: 13.75 MB / 436.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.2946, allocations: 4.446 MB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.298, allocations: 99.44 kB / 441 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.3023, allocations: 1.045 MB / 442 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.3085, allocations: 1.378 MB / 443.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.3122, allocations: 0.9001 MB / 444.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.3199, allocations: 4.09 MB / 448.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004243/0.3241, allocations: 1.81 MB / 450.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.328, allocations: 1.943 MB / 452.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.3326, allocations: 2.121 MB / 454.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.3342, allocations: 0.5078 MB / 454.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.3368, allocations: 0.7185 MB / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.3387, allocations: 1.118 MB / 456.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004154/0.3429, allocations: 2.136 MB / 458.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.3529, allocations: 6.727 MB / 465.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3529, allocations: 0 / 465.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3529, allocations: 0 / 465.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002252/0.3531, allocations: 0 / 465.4 MB, free: 3.57 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.01453/0.3677, allocations: 4.424 MB / 469.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.3677, allocations: 12.03 kB / 469.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/0.3692, allocations: 455.8 kB / 470.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.3744, allocations: 0.8339 MB / 471.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/0.381, allocations: 2.38 MB / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.3813, allocations: 254.5 kB / 473.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.3825, allocations: 324 kB / 474.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3938, allocations: 4.263 MB / 478.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.3939, allocations: 7.953 kB / 478.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007931/0.3947, allocations: 136 kB / 478.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.3949, allocations: 150.4 kB / 478.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009408/0.4043, allocations: 3.605 MB / 482.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.4338, allocations: 13.45 MB / 495.7 MB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/0.4393, allocations: 2.586 MB / 498.3 MB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.4418, allocations: 1.265 MB / 499.6 MB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007663/0.4495, allocations: 3.387 MB / 0.4912 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.4495, allocations: 47.88 kB / 0.4912 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.446e-06/0.4495, allocations: 0 / 0.4912 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01259/0.4621, allocations: 5.229 MB / 0.4963 GB, free: 8.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.4622, allocations: 68.72 kB / 0.4964 GB, free: 8.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.4659, allocations: 1.78 MB / 0.4981 GB, free: 6.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.4661, allocations: 53.7 kB / 0.4982 GB, free: 6.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.4677, allocations: 1.478 MB / 0.4996 GB, free: 4.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.4683, allocations: 0.4957 MB / 0.5001 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000662/0.469, allocations: 315.5 kB / 0.5004 GB, free: 4.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4692, allocations: 301.1 kB / 0.5007 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4705, allocations: 0.6793 MB / 0.5014 GB, free: 3.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.4722, allocations: 1.197 MB / 0.5025 GB, free: 1.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.4754, allocations: 1.999 MB / 0.5045 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.4754, allocations: 8 kB / 0.5045 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004851/0.4803, allocations: 2.461 MB / 0.5069 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.4803, allocations: 12.34 kB / 0.5069 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.4803, allocations: 20 kB / 0.5069 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.4814, allocations: 372 kB / 0.5073 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.4828, allocations: 371.4 kB / 0.5076 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009366/0.4922, allocations: 8.005 MB / 0.5154 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4938, allocations: 76.06 kB / 0.5155 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.494, allocations: 79.98 kB / 0.5156 GB, free: 3.551 MB / 430.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.002072/0.4961, allocations: 0.9977 MB / 0.5166 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.4966, allocations: 206.7 kB / 0.5168 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.501, allocations: 2.119 MB / 0.5188 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.501, allocations: 16 kB / 0.5188 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/0.501, allocations: 8 kB / 0.5189 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.501, allocations: 7.969 kB / 0.5189 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/0.5109, allocations: 4.881 MB / 0.5236 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5109, allocations: 0 / 0.5236 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.5117, allocations: 172 kB / 0.5238 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.5132, allocations: 0.5319 MB / 0.5243 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.5134, allocations: 43.92 kB / 0.5244 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2502/0.7636, allocations: 12.59 MB / 0.5366 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.7636, allocations: 2.156 kB / 0.5366 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007454/0.7711, allocations: 3.057 MB / 0.5396 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.7724, allocations: 370.5 kB / 0.54 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/0.7729, allocations: 33.83 kB / 0.54 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7745, allocations: 64.27 kB / 0.5401 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/0.7749, allocations: 111.7 kB / 0.5402 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7751, allocations: 38.44 kB / 0.5402 GB, free: 102.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002777/0.7779, allocations: 1.221 MB / 0.5414 GB, free: 101.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7779, allocations: 0.8438 kB / 0.5414 GB, free: 101.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003407/0.7813, allocations: 0.5757 MB / 0.542 GB, free: 101.5 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.006876/0.7881, allocations: 3.676 MB / 0.5456 GB, free: 99.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004637/0.7928, allocations: 2.221 MB / 0.5477 GB, free: 98.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.7928, allocations: 4 kB / 0.5477 GB, free: 98.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.7958, allocations: 1.683 MB / 0.5494 GB, free: 97.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.7998, allocations: 0.5387 MB / 0.5499 GB, free: 97.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/0.8294, allocations: 20.08 MB / 0.5695 GB, free: 80.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.8315, allocations: 2.315 MB / 0.5718 GB, free: 77.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.8327, allocations: 393 kB / 0.5722 GB, free: 77.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.8339, allocations: 1.132 MB / 0.5733 GB, free: 76.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.8339, allocations: 0 / 0.5733 GB, free: 76.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.9471, allocations: 55.19 MB / 0.6272 GB, free: 21.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.05, allocations: 8 kB / 0.6272 GB, free: 21.68 MB / 446.1 MB " [Timeout remaining time 644] (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/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/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: 20.588550379965454]