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.001406/0.001406, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.00158/0.00158, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.505/1.505, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.001498/0.001498, allocations: 51.92 kB / 365.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 52.14 MB / 417.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2529/0.3552, allocations: 38.43 MB / 456.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.3789, allocations: 10.05 MB / 466.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009835/0.3887, allocations: 349.8 kB / 466.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02219/0.4109, allocations: 10.31 MB / 477 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.4269, allocations: 4.128 MB / 481.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008741/0.4356, allocations: 2.39 MB / 483.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02473/0.4604, allocations: 16.38 MB / 499.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04161/0.502, allocations: 23.68 MB / 0.5113 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.5187, allocations: 8.657 MB / 0.5197 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01844/0.5372, allocations: 9.406 MB / 0.5289 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007841/0.545, allocations: 2.418 MB / 0.5313 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.5559, allocations: 2.824 MB / 0.534 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008435/0.5643, allocations: 4.828 MB / 0.5387 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0186/0.5829, allocations: 9.199 MB / 0.5477 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04422/0.6271, allocations: 32.19 MB / 0.5791 GB, free: 8.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.6271, allocations: 0 / 0.5791 GB, free: 8.336 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6271, allocations: 0 / 0.5791 GB, free: 8.336 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009169/0.628, allocations: 0 / 0.5791 GB, free: 8.336 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.06194/0.69, allocations: 19 MB / 0.5977 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.6901, allocations: 11.89 kB / 0.5977 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009084/0.6991, allocations: 2.293 MB / 0.6 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04997/0.7491, allocations: 8.368 MB / 0.6081 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/0.7717, allocations: 10.25 MB / 0.6181 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/0.7729, allocations: 1.056 MB / 0.6192 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005346/0.7783, allocations: 1.406 MB / 0.6205 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4781/1.256, allocations: 22.74 MB / 0.6427 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006654/1.257, allocations: 23.38 kB / 0.6428 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005165/1.262, allocations: 0.5783 MB / 0.6433 GB, free: 135 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/1.263, allocations: 0.7785 MB / 0.6441 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0486/1.312, allocations: 21.01 MB / 0.6646 GB, free: 127 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.43, allocations: 72.19 MB / 0.7351 GB, free: 70.62 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03645/1.466, allocations: 41.78 MB / 0.7759 GB, free: 23.97 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/1.477, allocations: 4.712 MB / 0.7805 GB, free: 19.25 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03157/1.509, allocations: 12.7 MB / 0.7929 GB, free: 6.762 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/1.509, allocations: 90.77 kB / 0.793 GB, free: 6.664 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 7.725e-06/1.509, allocations: 0 / 0.793 GB, free: 6.664 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.06555/1.575, allocations: 26.54 MB / 0.8189 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.575, allocations: 129.3 kB / 0.819 GB, free: 12.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.586, allocations: 5.758 MB / 0.8247 GB, free: 6.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.587, allocations: 109.7 kB / 0.8248 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005536/1.593, allocations: 6.365 MB / 0.831 GB, free: 184 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/1.595, allocations: 1.814 MB / 0.8328 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004346/1.6, allocations: 1.47 MB / 0.8342 GB, free: 12.91 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.6, allocations: 305.1 kB / 0.8345 GB, free: 12.61 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006868/1.607, allocations: 3.63 MB / 0.838 GB, free: 8.977 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009553/1.616, allocations: 6.474 MB / 0.8443 GB, free: 1.203 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2682/1.884, allocations: 10.76 MB / 0.8549 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.884, allocations: 26.72 kB / 0.8549 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02644/1.911, allocations: 12.06 MB / 0.8667 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/1.911, allocations: 50.09 kB / 0.8667 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/1.911, allocations: 92.66 kB / 0.8668 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005824/1.917, allocations: 1.587 MB / 0.8683 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007413/1.925, allocations: 1.665 MB / 0.87 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/1.949, allocations: 19.63 MB / 0.8891 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006674/1.956, allocations: 427 kB / 0.8896 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.958, allocations: 377 kB / 0.8899 GB, free: 148.6 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.009821/1.968, allocations: 5.184 MB / 0.895 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/1.969, allocations: 0.6195 MB / 0.8956 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.985, allocations: 9.309 MB / 0.9047 GB, free: 142.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00858/1.993, allocations: 5.831 MB / 0.9104 GB, free: 140 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.303e-05/1.993, allocations: 22.69 kB / 0.9104 GB, free: 140 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.02e-05/1.993, allocations: 25.88 kB / 0.9104 GB, free: 140 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03663/2.03, allocations: 20.94 MB / 0.9309 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/2.03, allocations: 4 kB / 0.9309 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.034, allocations: 0.8665 MB / 0.9317 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004291/2.038, allocations: 1.634 MB / 0.9333 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005414/2.038, allocations: 127.9 kB / 0.9334 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/2.059, allocations: 23.22 MB / 0.9561 GB, free: 99.71 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.059, allocations: 11.94 kB / 0.9561 GB, free: 99.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/2.077, allocations: 13.69 MB / 0.9695 GB, free: 85.95 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003285/2.081, allocations: 1.389 MB / 0.9708 GB, free: 84.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/2.082, allocations: 105.4 kB / 0.9709 GB, free: 84.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/2.085, allocations: 291.7 kB / 0.9712 GB, free: 84.16 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009828/2.086, allocations: 408.4 kB / 0.9716 GB, free: 83.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000322/2.087, allocations: 155.9 kB / 0.9718 GB, free: 83.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005153/2.092, allocations: 3.879 MB / 0.9755 GB, free: 79.75 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.01e-07/2.092, allocations: 0 / 0.9755 GB, free: 79.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008445/2.1, allocations: 2.34 MB / 0.9778 GB, free: 77.41 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.0184/2.119, allocations: 14.47 MB / 0.992 GB, free: 62.59 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01353/2.132, allocations: 9.51 MB / 1.001 GB, free: 52.99 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.132, allocations: 7.812 kB / 1.001 GB, free: 52.98 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007293/2.139, allocations: 5.129 MB / 1.006 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00718/2.147, allocations: 1.626 MB / 1.008 GB, free: 46.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3942/2.541, allocations: 80.16 MB / 1.086 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.553, allocations: 8.846 MB / 1.095 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006472/2.56, allocations: 2.526 MB / 1.097 GB, free: 167.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006875/2.566, allocations: 5.162 MB / 1.102 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.113e-06/2.566, allocations: 0 / 1.102 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.571/3.137, allocations: 188.9 MB / 1.287 GB, free: 138 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.75/27.89, allocations: 8.016 kB / 1.287 GB, free: 138 MB / 0.5763 GB " [Timeout remaining time 632] (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: 31.103523139376193]