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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 114.1 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 200 kB / 18 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 47.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3114, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04018/0.3516, allocations: 38.27 MB / 438.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02321/0.3749, allocations: 10.03 MB / 448.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008933/0.3838, allocations: 291.1 kB / 448.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02373/0.4076, allocations: 10.17 MB / 459 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.423, allocations: 4.036 MB / 463.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008433/0.4314, allocations: 2.387 MB / 465.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02328/0.4547, allocations: 16.37 MB / 481.8 MB, free: 6.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05894/0.5137, allocations: 31.21 MB / 0.501 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.5287, allocations: 8.505 MB / 0.5093 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01779/0.5466, allocations: 9.324 MB / 0.5184 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007317/0.5539, allocations: 2.418 MB / 0.5208 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.5641, allocations: 2.816 MB / 0.5235 GB, free: 380 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009547/0.5737, allocations: 4.809 MB / 0.5282 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0207/0.5944, allocations: 9.195 MB / 0.5372 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5367/1.131, allocations: 32.11 MB / 0.5686 GB, free: 48.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.131, allocations: 0 / 0.5686 GB, free: 48.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.717e-06/1.131, allocations: 0.8125 kB / 0.5686 GB, free: 48.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009749/1.132, allocations: 2.734 kB / 0.5686 GB, free: 48.45 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.06854/1.201, allocations: 18.67 MB / 0.5868 GB, free: 40.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.201, allocations: 14.73 kB / 0.5868 GB, free: 40.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01036/1.211, allocations: 2.278 MB / 0.589 GB, free: 38.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04513/1.256, allocations: 8.301 MB / 0.5971 GB, free: 34.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/1.278, allocations: 10.2 MB / 0.6071 GB, free: 26.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008938/1.279, allocations: 1.067 MB / 0.6081 GB, free: 25.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007647/1.287, allocations: 1.394 MB / 0.6095 GB, free: 24.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0608/1.348, allocations: 22.75 MB / 0.6317 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005516/1.348, allocations: 27.45 kB / 0.6317 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006299/1.355, allocations: 0.5727 MB / 0.6323 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006792/1.355, allocations: 0.7794 MB / 0.6331 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0479/1.403, allocations: 21.02 MB / 0.6536 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/1.545, allocations: 71.98 MB / 0.7239 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.299/1.844, allocations: 42.39 MB / 0.7653 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009779/1.854, allocations: 5.171 MB / 0.7703 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02276/1.876, allocations: 12.67 MB / 0.7827 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/1.876, allocations: 89.48 kB / 0.7828 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 7.234e-06/1.877, allocations: 0 / 0.7828 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.06034/1.937, allocations: 26.28 MB / 0.8085 GB, free: 153.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/1.937, allocations: 131 kB / 0.8086 GB, free: 153.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.95, allocations: 5.759 MB / 0.8142 GB, free: 150 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/1.952, allocations: 105.7 kB / 0.8143 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/1.956, allocations: 6.16 MB / 0.8203 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002431/1.958, allocations: 1.725 MB / 0.822 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005246/1.964, allocations: 1.465 MB / 0.8234 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/1.964, allocations: 305.1 kB / 0.8237 GB, free: 141.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006134/1.97, allocations: 3.631 MB / 0.8273 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007565/1.978, allocations: 6.468 MB / 0.8336 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.99, allocations: 10.77 MB / 0.8441 GB, free: 119.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.99, allocations: 24.88 kB / 0.8441 GB, free: 119.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02349/2.014, allocations: 12.08 MB / 0.8559 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/2.014, allocations: 44 kB / 0.856 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/2.014, allocations: 96 kB / 0.8561 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/2.019, allocations: 1.593 MB / 0.8576 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006135/2.025, allocations: 1.665 MB / 0.8592 GB, free: 104 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/2.045, allocations: 19.62 MB / 0.8784 GB, free: 83.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007047/2.052, allocations: 423.3 kB / 0.8788 GB, free: 83.36 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/2.054, allocations: 368 kB / 0.8792 GB, free: 83 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.01095/2.065, allocations: 5.188 MB / 0.8842 GB, free: 77.79 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/2.067, allocations: 0.5943 MB / 0.8848 GB, free: 77.19 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/2.091, allocations: 9.352 MB / 0.8939 GB, free: 67.75 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009449/2.1, allocations: 5.872 MB / 0.8997 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.668e-05/2.1, allocations: 22.83 kB / 0.8997 GB, free: 61.82 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.672e-05/2.1, allocations: 31.89 kB / 0.8997 GB, free: 61.79 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/2.145, allocations: 20.99 MB / 0.9202 GB, free: 40.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/2.145, allocations: 8.109 kB / 0.9202 GB, free: 40.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/2.148, allocations: 0.8659 MB / 0.9211 GB, free: 39.83 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/2.153, allocations: 1.647 MB / 0.9227 GB, free: 38.17 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000893/2.154, allocations: 124 kB / 0.9228 GB, free: 38.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/2.175, allocations: 23.2 MB / 0.9455 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.175, allocations: 11.94 kB / 0.9455 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2683/2.443, allocations: 13.7 MB / 0.9589 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/2.448, allocations: 1.354 MB / 0.9602 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002107/2.45, allocations: 105.3 kB / 0.9603 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004272/2.454, allocations: 286.8 kB / 0.9606 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001392/2.456, allocations: 406.2 kB / 0.9609 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004415/2.456, allocations: 155.2 kB / 0.9611 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007652/2.464, allocations: 3.886 MB / 0.9649 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/2.464, allocations: 0 / 0.9649 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01041/2.474, allocations: 2.343 MB / 0.9672 GB, free: 177.2 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.0194/2.494, allocations: 14.49 MB / 0.9813 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01355/2.507, allocations: 9.89 MB / 0.991 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.507, allocations: 0 / 0.991 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007334/2.515, allocations: 5.44 MB / 0.9963 GB, free: 167.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007823/2.523, allocations: 1.633 MB / 0.9979 GB, free: 167.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1437/2.666, allocations: 79.83 MB / 1.076 GB, free: 97.06 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01563/2.682, allocations: 8.844 MB / 1.084 GB, free: 88.17 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008308/2.69, allocations: 2.527 MB / 1.087 GB, free: 85.64 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01061/2.701, allocations: 5.162 MB / 1.092 GB, free: 80.47 MB / 0.5607 GB Notification: Performance of SimCode: time 1.493e-06/2.701, allocations: 4 kB / 1.092 GB, free: 80.47 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4882/3.189, allocations: 187.7 MB / 1.275 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.24/29.43, allocations: 10.05 kB / 1.275 GB, free: 109.9 MB / 0.5607 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/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) Reference file matches