Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001711/0.001711, allocations: 115.6 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.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: 213.4 kB / 23.74 MB, free: 4.656 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_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_1_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.001588/0.001588, allocations: 55.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2735, allocations: 53.36 MB / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0492/0.3227, allocations: 39.15 MB / 470.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02535/0.348, allocations: 10.36 MB / 480.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009568/0.3576, allocations: 354.1 kB / 481.1 MB, free: 4.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02621/0.3838, allocations: 10.35 MB / 491.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.015/0.3988, allocations: 4.226 MB / 495.6 MB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008632/0.4074, allocations: 2.493 MB / 498.1 MB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02637/0.4338, allocations: 16.65 MB / 0.5027 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04237/0.4762, allocations: 20.6 MB / 0.5228 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.4912, allocations: 8.716 MB / 0.5313 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4573/0.9485, allocations: 9.605 MB / 0.5407 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007876/0.9564, allocations: 2.42 MB / 0.5431 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.9664, allocations: 2.846 MB / 0.5459 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008659/0.9751, allocations: 4.829 MB / 0.5506 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01791/0.993, allocations: 9.208 MB / 0.5596 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03839/1.031, allocations: 32.24 MB / 0.591 GB, free: 9.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/1.031, allocations: 0 / 0.591 GB, free: 9.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 5e-06/1.031, allocations: 3.594 kB / 0.591 GB, free: 9.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001428/1.033, allocations: 0 / 0.591 GB, free: 9.008 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.05929/1.092, allocations: 19 MB / 0.6096 GB, free: 11.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.092, allocations: 8.031 kB / 0.6096 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00996/1.102, allocations: 2.286 MB / 0.6118 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05005/1.152, allocations: 8.282 MB / 0.6199 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02665/1.179, allocations: 10.38 MB / 0.6301 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001402/1.18, allocations: 1.06 MB / 0.6311 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006565/1.187, allocations: 1.401 MB / 0.6325 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06607/1.253, allocations: 22.8 MB / 0.6547 GB, free: 13.87 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000751/1.254, allocations: 23.64 kB / 0.6548 GB, free: 13.85 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005941/1.26, allocations: 0.5796 MB / 0.6553 GB, free: 13.29 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000992/1.261, allocations: 0.7754 MB / 0.6561 GB, free: 12.51 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04982/1.31, allocations: 21.06 MB / 0.6767 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1385/1.449, allocations: 71.08 MB / 0.7461 GB, free: 196 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.263/1.712, allocations: 13.96 MB / 0.7597 GB, free: 192 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007471/1.719, allocations: 4.737 MB / 0.7643 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0257/1.745, allocations: 12.67 MB / 0.7767 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.63e-05/1.745, allocations: 86.8 kB / 0.7768 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.235e-06/1.745, allocations: 2.094 kB / 0.7768 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05489/1.8, allocations: 25.86 MB / 0.802 GB, free: 174 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.8, allocations: 139.2 kB / 0.8022 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008841/1.809, allocations: 5.794 MB / 0.8078 GB, free: 170.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.81, allocations: 109.7 kB / 0.8079 GB, free: 170 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003084/1.813, allocations: 6.367 MB / 0.8141 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.815, allocations: 1.825 MB / 0.8159 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/1.817, allocations: 1.481 MB / 0.8174 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/1.817, allocations: 301.1 kB / 0.8177 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005012/1.822, allocations: 3.634 MB / 0.8212 GB, free: 157.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006638/1.829, allocations: 6.482 MB / 0.8275 GB, free: 149.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.841, allocations: 10.79 MB / 0.8381 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.856e-05/1.841, allocations: 28 kB / 0.8381 GB, free: 137.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02164/1.862, allocations: 12.03 MB / 0.8499 GB, free: 125.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.862, allocations: 44 kB / 0.8499 GB, free: 125.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.863, allocations: 98 kB / 0.85 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/1.867, allocations: 1.587 MB / 0.8515 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006547/1.873, allocations: 1.681 MB / 0.8532 GB, free: 121.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/1.893, allocations: 19.11 MB / 0.8718 GB, free: 102.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006635/1.9, allocations: 427.6 kB / 0.8723 GB, free: 101.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.901, allocations: 375.9 kB / 0.8726 GB, free: 101.4 MB / 0.5763 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.009586/1.911, allocations: 5.201 MB / 0.8777 GB, free: 96.17 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/1.913, allocations: 0.6327 MB / 0.8783 GB, free: 95.53 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/1.93, allocations: 9.157 MB / 0.8873 GB, free: 86.31 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/1.941, allocations: 5.856 MB / 0.893 GB, free: 80.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.965e-05/1.941, allocations: 20 kB / 0.893 GB, free: 80.41 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/1.941, allocations: 27.89 kB / 0.893 GB, free: 80.38 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04291/1.984, allocations: 20.92 MB / 0.9135 GB, free: 59.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/1.984, allocations: 11.98 kB / 0.9135 GB, free: 59.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/1.988, allocations: 0.8706 MB / 0.9143 GB, free: 58.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004402/1.992, allocations: 1.645 MB / 0.9159 GB, free: 56.84 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008506/1.993, allocations: 132 kB / 0.916 GB, free: 56.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/2.014, allocations: 22.49 MB / 0.938 GB, free: 33.44 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/2.014, allocations: 11.94 kB / 0.938 GB, free: 33.43 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/2.034, allocations: 13.57 MB / 0.9513 GB, free: 19.53 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004453/2.039, allocations: 1.351 MB / 0.9526 GB, free: 18.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/2.04, allocations: 100 kB / 0.9527 GB, free: 18.08 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/2.044, allocations: 287.7 kB / 0.953 GB, free: 17.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009229/2.045, allocations: 436.1 kB / 0.9534 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/2.045, allocations: 160 kB / 0.9535 GB, free: 17.21 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00618/2.051, allocations: 3.904 MB / 0.9573 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.4e-07/2.051, allocations: 0 / 0.9573 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01021/2.061, allocations: 2.34 MB / 0.9596 GB, free: 11 MB / 0.5763 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,5,100.0%), (1,8,100.0%), (1,13,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.2576/2.319, allocations: 14.36 MB / 0.9736 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.334, allocations: 9.453 MB / 0.9829 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/2.334, allocations: 3.938 kB / 0.9829 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007712/2.342, allocations: 5.143 MB / 0.9879 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/2.35, allocations: 1.656 MB / 0.9895 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1305/2.48, allocations: 80.21 MB / 1.068 GB, free: 115.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/2.494, allocations: 8.857 MB / 1.076 GB, free: 107.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006985/2.501, allocations: 2.547 MB / 1.079 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007786/2.509, allocations: 5.201 MB / 1.084 GB, free: 99.66 MB / 0.5763 GB Notification: Performance of SimCode: time 1.703e-06/2.509, allocations: 0 / 1.084 GB, free: 99.66 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5338/3.043, allocations: 196.1 MB / 1.276 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.48/30.52, allocations: 8.562 kB / 1.276 GB, free: 139.3 MB / 0.5919 GB " [Timeout remaining time 629] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.79494372499903]