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.000862/0.000862, allocations: 80.73 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008087/0.0008087, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 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 0.9036/0.9036, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.46e-05, allocations: 6.219 kB / 318.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.009244/0.009258, allocations: 11.96 MB / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.01429, allocations: 4.193 MB / 334.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007948/0.01509, allocations: 99.38 kB / 334.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.01654, allocations: 1.005 MB / 335.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.01831, allocations: 1.382 MB / 337.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.01928, allocations: 0.8747 MB / 338 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.02196, allocations: 4.26 MB / 342.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.02348, allocations: 1.73 MB / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.02561, allocations: 2.85 MB / 346.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.02707, allocations: 1.75 MB / 348.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.02747, allocations: 0.5039 MB / 349.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.02816, allocations: 0.7027 MB / 349.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005807/0.02874, allocations: 1.149 MB / 350.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.02973, allocations: 1.442 MB / 352.4 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.0336, allocations: 6.782 MB / 359.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.0336, allocations: 0 / 359.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0336, allocations: 0 / 359.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.589e-05/0.03365, allocations: 0 / 359.1 MB, free: 13.43 MB / 330.7 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.005255/0.0389, allocations: 4.373 MB / 363.5 MB, free: 9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.03894, allocations: 8.031 kB / 363.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003929/0.03933, allocations: 463.8 kB / 364 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.04136, allocations: 0.83 MB / 364.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.04384, allocations: 2.368 MB / 367.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.04396, allocations: 238.8 kB / 367.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.04427, allocations: 328.3 kB / 367.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004298/0.04857, allocations: 4.421 MB / 372.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.04862, allocations: 7.953 kB / 372.2 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.04882, allocations: 128 kB / 372.3 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.04893, allocations: 150.5 kB / 372.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.05276, allocations: 3.601 MB / 376 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.0648, allocations: 12.26 MB / 388.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.06771, allocations: 2.564 MB / 390.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.0691, allocations: 1.273 MB / 392.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003511/0.07261, allocations: 3.048 MB / 395.2 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.07264, allocations: 51.88 kB / 395.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 3.186e-06/0.07265, allocations: 0 / 395.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.006737/0.07938, allocations: 5.222 MB / 400.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.07943, allocations: 68.72 kB / 400.5 MB, free: 3.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.08107, allocations: 1.815 MB / 402.3 MB, free: 1.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.08113, allocations: 49.7 kB / 402.4 MB, free: 1.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/0.08185, allocations: 1.474 MB / 403.8 MB, free: 136 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.08211, allocations: 495.9 kB / 404.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.08243, allocations: 311.5 kB / 404.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.0825, allocations: 305.1 kB / 404.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.08321, allocations: 0.6754 MB / 405.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.08415, allocations: 1.23 MB / 406.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.08585, allocations: 1.999 MB / 408.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.08586, allocations: 11.94 kB / 408.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002445/0.08831, allocations: 2.464 MB / 411.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.08833, allocations: 8.344 kB / 411.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.08834, allocations: 20 kB / 411.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.0889, allocations: 364 kB / 411.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.08961, allocations: 375.4 kB / 412.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.09434, allocations: 7.919 MB / 420 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.09496, allocations: 76.11 kB / 420.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.09505, allocations: 72 kB / 420.1 MB, free: 14.89 MB / 394.7 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.001094/0.09614, allocations: 1.012 MB / 421.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.09632, allocations: 202.7 kB / 421.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.09862, allocations: 2.115 MB / 423.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.09863, allocations: 16 kB / 423.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.09864, allocations: 8 kB / 423.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.09865, allocations: 7.969 kB / 423.5 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.1033, allocations: 4.593 MB / 428.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1033, allocations: 4.188 kB / 428.1 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.1038, allocations: 167.8 kB / 428.2 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.1045, allocations: 0.5359 MB / 428.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.1046, allocations: 39.98 kB / 428.8 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.1119, allocations: 12.48 MB / 441.3 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1119, allocations: 4.031 kB / 441.3 MB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.1149, allocations: 3.045 MB / 444.3 MB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.1153, allocations: 370.5 kB / 444.7 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.1155, allocations: 32 kB / 444.7 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.1159, allocations: 67.89 kB / 444.8 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.1161, allocations: 113.1 kB / 444.9 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.1161, allocations: 39.98 kB / 445 MB, free: 5.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.1173, allocations: 1.215 MB / 446.2 MB, free: 3.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1173, allocations: 0 / 446.2 MB, free: 3.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001331/0.1186, allocations: 0.582 MB / 446.8 MB, free: 3.383 MB / 410.7 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.134/0.2526, allocations: 3.659 MB / 450.4 MB, free: 117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.2557, allocations: 2.213 MB / 452.6 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2557, allocations: 3.719 kB / 452.6 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.2571, allocations: 1.692 MB / 454.3 MB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2587, allocations: 0.5452 MB / 454.9 MB, free: 115.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.2795, allocations: 19.98 MB / 474.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.2805, allocations: 1.751 MB / 476.6 MB, free: 99.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007828/0.2813, allocations: 405 kB / 477 MB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.2821, allocations: 1.129 MB / 478.1 MB, free: 97.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2821, allocations: 0 / 478.1 MB, free: 97.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05986/0.3419, allocations: 57.13 MB / 0.5227 GB, free: 41.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.893, allocations: 7.875 kB / 0.5227 GB, free: 41.23 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 11.95972599554807]