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.001469/0.001469, allocations: 120.8 kB / 17.74 MB, free: 5.352 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.001672/0.001672, allocations: 186.9 kB / 20.68 MB, free: 2.422 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.468/1.468, allocations: 222.9 MB / 246.4 MB, free: 4.195 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.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.001472/0.001472, allocations: 47.92 kB / 357.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 49.43 MB / 407 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2408/0.3457, allocations: 38.28 MB / 445.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02417/0.3699, allocations: 10.03 MB / 455.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.3806, allocations: 291 kB / 455.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02681/0.4074, allocations: 10.17 MB / 465.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01778/0.4253, allocations: 4.025 MB / 469.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009847/0.4351, allocations: 2.387 MB / 472.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02641/0.4615, allocations: 16.38 MB / 488.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0552/0.5168, allocations: 31.2 MB / 0.5075 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/0.5334, allocations: 8.462 MB / 0.5158 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01756/0.551, allocations: 9.324 MB / 0.5249 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007479/0.5585, allocations: 2.418 MB / 0.5273 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.5694, allocations: 2.812 MB / 0.53 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009688/0.5791, allocations: 4.809 MB / 0.5347 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02316/0.6023, allocations: 9.203 MB / 0.5437 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04931/0.6517, allocations: 32.18 MB / 0.5751 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6517, allocations: 0 / 0.5751 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6517, allocations: 0 / 0.5751 GB, free: 5.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001034/0.6528, allocations: 0 / 0.5751 GB, free: 5.516 MB / 478.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.06322/0.716, allocations: 19.01 MB / 0.5937 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.7161, allocations: 15.89 kB / 0.5937 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00932/0.7254, allocations: 2.293 MB / 0.596 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04923/0.7747, allocations: 8.365 MB / 0.6041 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4672/1.242, allocations: 10.23 MB / 0.6141 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/1.243, allocations: 1.061 MB / 0.6152 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005892/1.249, allocations: 1.397 MB / 0.6165 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05586/1.305, allocations: 22.75 MB / 0.6387 GB, free: 127.7 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005709/1.305, allocations: 20.2 kB / 0.6388 GB, free: 127.7 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004469/1.31, allocations: 0.5832 MB / 0.6393 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006431/1.31, allocations: 0.7823 MB / 0.6401 GB, free: 127.2 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03665/1.347, allocations: 21.01 MB / 0.6606 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1137/1.461, allocations: 72.18 MB / 0.7311 GB, free: 44.35 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02783/1.489, allocations: 42.4 MB / 0.7725 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009678/1.499, allocations: 5.17 MB / 0.7775 GB, free: 7.84 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0303/1.529, allocations: 12.69 MB / 0.7899 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/1.529, allocations: 98.69 kB / 0.79 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.733e-06/1.529, allocations: 0 / 0.79 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.07097/1.6, allocations: 26.58 MB / 0.816 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.6, allocations: 129.3 kB / 0.8161 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.264/1.864, allocations: 5.762 MB / 0.8217 GB, free: 167.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.865, allocations: 109.3 kB / 0.8219 GB, free: 167.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004781/1.87, allocations: 6.353 MB / 0.8281 GB, free: 166.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.873, allocations: 1.824 MB / 0.8298 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/1.875, allocations: 1.466 MB / 0.8313 GB, free: 165.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/1.876, allocations: 310.3 kB / 0.8316 GB, free: 165 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00705/1.883, allocations: 3.626 MB / 0.8351 GB, free: 164.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008038/1.891, allocations: 6.474 MB / 0.8414 GB, free: 159.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/1.905, allocations: 10.77 MB / 0.8519 GB, free: 152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002206/1.905, allocations: 30.12 kB / 0.852 GB, free: 152 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02253/1.927, allocations: 12.11 MB / 0.8638 GB, free: 147 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.928, allocations: 42.84 kB / 0.8638 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/1.928, allocations: 92.62 kB / 0.8639 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004471/1.932, allocations: 1.593 MB / 0.8655 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006253/1.939, allocations: 1.664 MB / 0.8671 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/1.961, allocations: 19.64 MB / 0.8863 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/1.968, allocations: 428.7 kB / 0.8867 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.969, allocations: 364.6 kB / 0.887 GB, free: 133.1 MB / 0.545 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.01081/1.98, allocations: 5.191 MB / 0.8921 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/1.982, allocations: 0.6298 MB / 0.8927 GB, free: 130.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/2.002, allocations: 9.352 MB / 0.9019 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01066/2.012, allocations: 5.874 MB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001025/2.012, allocations: 16 kB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/2.013, allocations: 29.16 kB / 0.9076 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04204/2.055, allocations: 21 MB / 0.9282 GB, free: 96.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/2.055, allocations: 12.16 kB / 0.9282 GB, free: 96.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/2.058, allocations: 0.862 MB / 0.929 GB, free: 95.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004459/2.063, allocations: 1.641 MB / 0.9306 GB, free: 94.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008464/2.064, allocations: 124 kB / 0.9307 GB, free: 94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/2.086, allocations: 23.22 MB / 0.9534 GB, free: 69.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.086, allocations: 11.94 kB / 0.9534 GB, free: 69.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.108, allocations: 13.74 MB / 0.9668 GB, free: 55.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003773/2.112, allocations: 1.395 MB / 0.9682 GB, free: 54.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003427/2.115, allocations: 100 kB / 0.9683 GB, free: 54.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005258/2.121, allocations: 291.7 kB / 0.9686 GB, free: 53.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001576/2.122, allocations: 416.2 kB / 0.969 GB, free: 53.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007705/2.123, allocations: 152 kB / 0.9691 GB, free: 53.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007129/2.13, allocations: 3.887 MB / 0.9729 GB, free: 49.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/2.13, allocations: 0 / 0.9729 GB, free: 49.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01119/2.141, allocations: 2.328 MB / 0.9752 GB, free: 47.2 MB / 0.545 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.02316/2.165, allocations: 14.54 MB / 0.9894 GB, free: 32.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01612/2.181, allocations: 9.899 MB / 0.999 GB, free: 22.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.181, allocations: 0 / 0.999 GB, free: 22.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009461/2.19, allocations: 5.449 MB / 1.004 GB, free: 16.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01288/2.203, allocations: 1.632 MB / 1.006 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4319/2.635, allocations: 80.25 MB / 1.084 GB, free: 136.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/2.649, allocations: 8.849 MB / 1.093 GB, free: 127.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007225/2.656, allocations: 2.528 MB / 1.095 GB, free: 125.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007725/2.664, allocations: 5.162 MB / 1.1 GB, free: 120 MB / 0.545 GB Notification: Performance of SimCode: time 2.325e-06/2.664, allocations: 0 / 1.1 GB, free: 120 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6/3.264, allocations: 187.3 MB / 1.283 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.11/29.37, allocations: 1.469 kB / 1.283 GB, free: 150.3 MB / 0.5607 GB " [Timeout remaining time 630] (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_2/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_2/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: 32.59342813293915]