Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2733, allocations: 50.55 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03785/0.3112, allocations: 38.91 MB / 447.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.3352, allocations: 10.32 MB / 458 MB, free: 48 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009857/0.3451, allocations: 295 kB / 458.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02517/0.3703, allocations: 10.26 MB / 468.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01585/0.3861, allocations: 4.132 MB / 472.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008353/0.3945, allocations: 2.425 MB / 475.1 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.4172, allocations: 16.52 MB / 491.7 MB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05418/0.4714, allocations: 31.2 MB / 0.5106 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01551/0.487, allocations: 8.513 MB / 0.5189 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01746/0.5045, allocations: 9.5 MB / 0.5282 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008219/0.5127, allocations: 2.414 MB / 0.5306 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.5231, allocations: 2.824 MB / 0.5333 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009511/0.5327, allocations: 4.812 MB / 0.538 GB, free: 2.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4941/1.027, allocations: 9.208 MB / 0.547 GB, free: 48.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03777/1.065, allocations: 32.24 MB / 0.5785 GB, free: 40.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.065, allocations: 1 kB / 0.5785 GB, free: 40.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/1.065, allocations: 2.625 kB / 0.5785 GB, free: 40.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009878/1.066, allocations: 0.5625 kB / 0.5785 GB, free: 40.3 MB / 462.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.06089/1.127, allocations: 19.07 MB / 0.5971 GB, free: 28.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/1.127, allocations: 7.906 kB / 0.5971 GB, free: 28.38 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01072/1.137, allocations: 2.292 MB / 0.5994 GB, free: 26.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/1.184, allocations: 8.414 MB / 0.6076 GB, free: 22.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02314/1.207, allocations: 10.28 MB / 0.6176 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/1.208, allocations: 1.059 MB / 0.6187 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006442/1.214, allocations: 1.395 MB / 0.62 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06217/1.277, allocations: 22.75 MB / 0.6422 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007935/1.277, allocations: 23.55 kB / 0.6423 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006425/1.284, allocations: 0.5832 MB / 0.6428 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009677/1.285, allocations: 0.7715 MB / 0.6436 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0536/1.338, allocations: 21.02 MB / 0.6641 GB, free: 13.34 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1381/1.477, allocations: 72.85 MB / 0.7352 GB, free: 4.074 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2943/1.771, allocations: 42.71 MB / 0.777 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009554/1.781, allocations: 5.198 MB / 0.782 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02394/1.805, allocations: 12.98 MB / 0.7947 GB, free: 173 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/1.805, allocations: 89.14 kB / 0.7948 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.264e-06/1.805, allocations: 1 kB / 0.7948 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05237/1.857, allocations: 26.61 MB / 0.8208 GB, free: 161.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/1.857, allocations: 135.2 kB / 0.8209 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008183/1.865, allocations: 5.791 MB / 0.8266 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009625/1.866, allocations: 105.8 kB / 0.8267 GB, free: 159 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.869, allocations: 6.378 MB / 0.8329 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.871, allocations: 1.813 MB / 0.8347 GB, free: 152 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.873, allocations: 1.473 MB / 0.8361 GB, free: 150.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/1.873, allocations: 301.1 kB / 0.8364 GB, free: 150.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004586/1.878, allocations: 3.628 MB / 0.8399 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008425/1.886, allocations: 6.473 MB / 0.8463 GB, free: 140.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01876/1.905, allocations: 10.77 MB / 0.8568 GB, free: 129 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.905, allocations: 28 kB / 0.8568 GB, free: 129 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02922/1.934, allocations: 12.12 MB / 0.8686 GB, free: 117 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.935, allocations: 44 kB / 0.8687 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/1.935, allocations: 99.98 kB / 0.8688 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/1.939, allocations: 1.584 MB / 0.8703 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006271/1.945, allocations: 1.669 MB / 0.8719 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.965, allocations: 19.64 MB / 0.8911 GB, free: 93.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006577/1.972, allocations: 427.6 kB / 0.8915 GB, free: 92.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.973, allocations: 364 kB / 0.8919 GB, free: 92.46 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.01003/1.983, allocations: 5.199 MB / 0.897 GB, free: 87.25 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/1.985, allocations: 0.6288 MB / 0.8976 GB, free: 86.62 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.999, allocations: 9.366 MB / 0.9067 GB, free: 77.15 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008115/2.007, allocations: 5.869 MB / 0.9125 GB, free: 71.25 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.868e-05/2.007, allocations: 20 kB / 0.9125 GB, free: 71.23 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.405e-05/2.007, allocations: 27.89 kB / 0.9125 GB, free: 71.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03754/2.045, allocations: 21.02 MB / 0.933 GB, free: 50.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/2.045, allocations: 12.12 kB / 0.933 GB, free: 50.08 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003487/2.049, allocations: 0.8581 MB / 0.9339 GB, free: 49.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004156/2.053, allocations: 1.631 MB / 0.9355 GB, free: 47.57 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005949/2.053, allocations: 127.9 kB / 0.9356 GB, free: 47.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/2.074, allocations: 23.22 MB / 0.9583 GB, free: 23.28 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/2.074, allocations: 4.125 kB / 0.9583 GB, free: 23.28 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/2.093, allocations: 13.75 MB / 0.9717 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00418/2.097, allocations: 1.391 MB / 0.973 GB, free: 7.758 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/2.099, allocations: 104 kB / 0.9731 GB, free: 7.656 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/2.103, allocations: 287.7 kB / 0.9734 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.104, allocations: 412.3 kB / 0.9738 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/2.104, allocations: 155.9 kB / 0.974 GB, free: 6.82 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006285/2.111, allocations: 3.904 MB / 0.9778 GB, free: 2.945 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.4e-07/2.111, allocations: 0 / 0.9778 GB, free: 2.945 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01069/2.121, allocations: 2.34 MB / 0.9801 GB, free: 0.6055 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.2986/2.42, allocations: 14.52 MB / 0.9942 GB, free: 185 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0141/2.434, allocations: 9.896 MB / 1.004 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.434, allocations: 3.906 kB / 1.004 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007682/2.442, allocations: 5.447 MB / 1.009 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007537/2.449, allocations: 1.651 MB / 1.011 GB, free: 179.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1267/2.576, allocations: 80.33 MB / 1.089 GB, free: 114.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01246/2.589, allocations: 8.864 MB / 1.098 GB, free: 105.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007001/2.596, allocations: 2.535 MB / 1.1 GB, free: 103 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007796/2.604, allocations: 5.174 MB / 1.105 GB, free: 97.81 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/2.604, allocations: 0 / 1.105 GB, free: 97.81 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5456/3.149, allocations: 187.4 MB / 1.288 GB, free: 135.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.87/27.02, allocations: 8.484 kB / 1.288 GB, free: 135.9 MB / 0.5763 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches