Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001553/0.001553, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002166/0.002166, allocations: 187.4 kB / 23.72 MB, free: 4.684 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.467/1.467, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 51.92 kB / 370.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 52.18 MB / 422.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04342/0.3271, allocations: 38.52 MB / 461.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02482/0.352, allocations: 10.06 MB / 471.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01055/0.3625, allocations: 354.1 kB / 471.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02533/0.3878, allocations: 10.34 MB / 481.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.4057, allocations: 4.215 MB / 486.2 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.4163, allocations: 2.445 MB / 488.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02796/0.4443, allocations: 16.51 MB / 0.4933 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04031/0.4846, allocations: 20.58 MB / 0.5134 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.5005, allocations: 8.704 MB / 0.5219 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01842/0.5189, allocations: 9.445 MB / 0.5311 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007357/0.5262, allocations: 2.414 MB / 0.5335 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4482/0.9744, allocations: 2.821 MB / 0.5362 GB, free: 37.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007686/0.9821, allocations: 4.829 MB / 0.5409 GB, free: 37.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01942/1.002, allocations: 9.202 MB / 0.5499 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04337/1.045, allocations: 32.18 MB / 0.5813 GB, free: 23.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.045, allocations: 2.875 kB / 0.5813 GB, free: 23.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/1.045, allocations: 3.562 kB / 0.5813 GB, free: 23.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001041/1.046, allocations: 2.031 kB / 0.5813 GB, free: 23.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05924/1.105, allocations: 18.95 MB / 0.5998 GB, free: 11.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.105, allocations: 11.72 kB / 0.5999 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009422/1.115, allocations: 2.286 MB / 0.6021 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04432/1.159, allocations: 8.373 MB / 0.6103 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.184, allocations: 10.33 MB / 0.6203 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/1.186, allocations: 1.058 MB / 0.6214 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006418/1.192, allocations: 1.405 MB / 0.6228 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06754/1.26, allocations: 22.74 MB / 0.645 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007378/1.261, allocations: 35.17 kB / 0.645 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006162/1.267, allocations: 0.5738 MB / 0.6456 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.268, allocations: 0.7832 MB / 0.6463 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05484/1.323, allocations: 21.01 MB / 0.6668 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/1.481, allocations: 70.98 MB / 0.7362 GB, free: 3.223 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3249/1.806, allocations: 13.86 MB / 0.7497 GB, free: 186.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008957/1.815, allocations: 4.704 MB / 0.7543 GB, free: 186.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02933/1.845, allocations: 12.55 MB / 0.7665 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/1.845, allocations: 84.17 kB / 0.7666 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 7.243e-06/1.845, allocations: 3.094 kB / 0.7666 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05145/1.896, allocations: 25.78 MB / 0.7918 GB, free: 169.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.896, allocations: 133 kB / 0.7919 GB, free: 169.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/1.905, allocations: 5.769 MB / 0.7976 GB, free: 164.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.906, allocations: 109.7 kB / 0.7977 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/1.909, allocations: 6.359 MB / 0.8039 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.911, allocations: 1.816 MB / 0.8056 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/1.913, allocations: 1.471 MB / 0.8071 GB, free: 155.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/1.913, allocations: 301.1 kB / 0.8074 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/1.918, allocations: 3.636 MB / 0.8109 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006017/1.924, allocations: 6.474 MB / 0.8172 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.936, allocations: 10.76 MB / 0.8277 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.562e-05/1.936, allocations: 28 kB / 0.8278 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02/1.956, allocations: 11.99 MB / 0.8395 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/1.956, allocations: 50.34 kB / 0.8395 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/1.956, allocations: 92 kB / 0.8396 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/1.96, allocations: 1.591 MB / 0.8412 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006103/1.966, allocations: 1.665 MB / 0.8428 GB, free: 116.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.985, allocations: 19.14 MB / 0.8615 GB, free: 97.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006041/1.991, allocations: 419.7 kB / 0.8619 GB, free: 96.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.992, allocations: 371.9 kB / 0.8622 GB, free: 96.38 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,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.009081/2.002, allocations: 5.187 MB / 0.8673 GB, free: 91.17 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/2.003, allocations: 0.6326 MB / 0.8679 GB, free: 90.54 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/2.017, allocations: 9.156 MB / 0.8769 GB, free: 81.32 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007951/2.025, allocations: 5.825 MB / 0.8825 GB, free: 75.46 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/2.025, allocations: 24 kB / 0.8826 GB, free: 75.44 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/2.025, allocations: 23.91 kB / 0.8826 GB, free: 75.42 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05102/2.076, allocations: 20.85 MB / 0.903 GB, free: 54.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.328e-05/2.076, allocations: 8 kB / 0.903 GB, free: 54.49 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004533/2.081, allocations: 0.862 MB / 0.9038 GB, free: 53.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004897/2.086, allocations: 1.649 MB / 0.9054 GB, free: 51.96 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/2.087, allocations: 124 kB / 0.9055 GB, free: 51.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/2.112, allocations: 22.48 MB / 0.9275 GB, free: 28.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.794e-05/2.112, allocations: 11.94 kB / 0.9275 GB, free: 28.57 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/2.139, allocations: 13.53 MB / 0.9407 GB, free: 14.72 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.143, allocations: 1.347 MB / 0.942 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.145, allocations: 104 kB / 0.9421 GB, free: 13.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/2.149, allocations: 291.7 kB / 0.9424 GB, free: 12.98 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/2.15, allocations: 428.2 kB / 0.9428 GB, free: 12.56 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005986/2.151, allocations: 155.9 kB / 0.943 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007393/2.158, allocations: 3.883 MB / 0.9468 GB, free: 8.551 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.21e-07/2.158, allocations: 4 kB / 0.9468 GB, free: 8.547 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01036/2.168, allocations: 2.336 MB / 0.949 GB, free: 6.211 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3194/2.488, allocations: 14.32 MB / 0.963 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01825/2.506, allocations: 9.44 MB / 0.9722 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/2.506, allocations: 1.156 kB / 0.9722 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009643/2.516, allocations: 5.132 MB / 0.9773 GB, free: 162 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/2.526, allocations: 1.638 MB / 0.9789 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.167/2.693, allocations: 80.19 MB / 1.057 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02089/2.714, allocations: 8.852 MB / 1.066 GB, free: 93.79 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009196/2.723, allocations: 2.527 MB / 1.068 GB, free: 91.26 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/2.733, allocations: 5.158 MB / 1.073 GB, free: 86.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.272e-06/2.733, allocations: 0 / 1.073 GB, free: 86.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5743/3.308, allocations: 195.5 MB / 1.264 GB, free: 131.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.09/30.39, allocations: 9.766 kB / 1.264 GB, free: 131.4 MB / 0.5763 GB " [Timeout remaining time 629] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 33.57101842300108]