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.001015/0.001015, allocations: 104.9 kB / 17.06 MB, free: 6.016 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.001015/0.001014, allocations: 195 kB / 18 MB, free: 5.094 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009175/0.0009175, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1995, allocations: 49.44 MB / 400.3 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03306/0.2326, allocations: 38.26 MB / 438.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.2495, allocations: 10.02 MB / 448.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004871/0.2544, allocations: 299 kB / 448.9 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01974/0.2741, allocations: 10.17 MB / 459 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.2852, allocations: 4.039 MB / 463.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005685/0.2909, allocations: 2.379 MB / 465.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01668/0.3076, allocations: 16.37 MB / 481.8 MB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03595/0.3436, allocations: 31.21 MB / 0.501 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009082/0.3527, allocations: 8.505 MB / 0.5093 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.364, allocations: 9.324 MB / 0.5184 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004066/0.3681, allocations: 2.418 MB / 0.5208 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005821/0.3739, allocations: 2.812 MB / 0.5235 GB, free: 452 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003738/0.3777, allocations: 4.809 MB / 0.5282 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00891/0.3866, allocations: 9.199 MB / 0.5372 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3871/0.7736, allocations: 32.1 MB / 0.5686 GB, free: 48.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7737, allocations: 0 / 0.5686 GB, free: 48.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7737, allocations: 3.344 kB / 0.5686 GB, free: 48.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007764/0.7745, allocations: 2.406 kB / 0.5686 GB, free: 48.47 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.05438/0.8289, allocations: 18.66 MB / 0.5868 GB, free: 40.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8289, allocations: 14.58 kB / 0.5868 GB, free: 40.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006979/0.8359, allocations: 2.292 MB / 0.589 GB, free: 38.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04117/0.8771, allocations: 8.295 MB / 0.5971 GB, free: 35.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/0.8975, allocations: 10.2 MB / 0.6071 GB, free: 26.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007709/0.8983, allocations: 1.065 MB / 0.6081 GB, free: 25.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00602/0.9044, allocations: 1.397 MB / 0.6095 GB, free: 24.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04633/0.9507, allocations: 22.75 MB / 0.6317 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003348/0.9511, allocations: 19.38 kB / 0.6317 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/0.953, allocations: 0.5751 MB / 0.6323 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004772/0.9535, allocations: 0.7819 MB / 0.6331 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/0.9928, allocations: 21.02 MB / 0.6536 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.107, allocations: 71.98 MB / 0.7239 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2774/1.384, allocations: 42.39 MB / 0.7653 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/1.394, allocations: 5.178 MB / 0.7703 GB, free: 168.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02618/1.421, allocations: 12.67 MB / 0.7827 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/1.421, allocations: 88.89 kB / 0.7828 GB, free: 165 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 6.482e-06/1.421, allocations: 0 / 0.7828 GB, free: 165 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05479/1.476, allocations: 26.28 MB / 0.8085 GB, free: 153.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.476, allocations: 132.9 kB / 0.8086 GB, free: 153.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008124/1.484, allocations: 5.761 MB / 0.8142 GB, free: 150.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.485, allocations: 109.7 kB / 0.8143 GB, free: 150 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00293/1.488, allocations: 6.154 MB / 0.8203 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.49, allocations: 1.727 MB / 0.822 GB, free: 143 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/1.492, allocations: 1.468 MB / 0.8234 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/1.492, allocations: 301.1 kB / 0.8237 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004804/1.497, allocations: 3.626 MB / 0.8273 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005927/1.503, allocations: 6.476 MB / 0.8336 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.515, allocations: 10.77 MB / 0.8441 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-05/1.515, allocations: 32 kB / 0.8441 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02238/1.538, allocations: 12.07 MB / 0.8559 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.538, allocations: 44 kB / 0.856 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/1.538, allocations: 97.47 kB / 0.8561 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004359/1.542, allocations: 1.588 MB / 0.8576 GB, free: 105.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006235/1.549, allocations: 1.669 MB / 0.8593 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/1.569, allocations: 19.61 MB / 0.8784 GB, free: 83.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007084/1.577, allocations: 431.3 kB / 0.8788 GB, free: 83.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/1.578, allocations: 364 kB / 0.8792 GB, free: 83.1 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.01221/1.591, allocations: 5.188 MB / 0.8842 GB, free: 77.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002352/1.593, allocations: 0.5982 MB / 0.8848 GB, free: 77.29 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.611, allocations: 9.355 MB / 0.8939 GB, free: 67.85 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009297/1.62, allocations: 5.872 MB / 0.8997 GB, free: 61.95 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.988e-05/1.62, allocations: 20 kB / 0.8997 GB, free: 61.93 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/1.62, allocations: 31.88 kB / 0.8997 GB, free: 61.89 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04245/1.663, allocations: 20.99 MB / 0.9202 GB, free: 40.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.663, allocations: 12.12 kB / 0.9202 GB, free: 40.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003347/1.666, allocations: 0.862 MB / 0.9211 GB, free: 39.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/1.67, allocations: 1.645 MB / 0.9227 GB, free: 38.28 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/1.671, allocations: 120 kB / 0.9228 GB, free: 38.16 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.693, allocations: 23.21 MB / 0.9455 GB, free: 14.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.693, allocations: 11.94 kB / 0.9455 GB, free: 14.02 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3133/2.006, allocations: 13.71 MB / 0.9589 GB, free: 177.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005289/2.011, allocations: 1.35 MB / 0.9602 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/2.013, allocations: 111.7 kB / 0.9603 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004303/2.018, allocations: 283.4 kB / 0.9606 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/2.019, allocations: 414.4 kB / 0.9609 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004108/2.019, allocations: 152.6 kB / 0.9611 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007257/2.027, allocations: 3.883 MB / 0.9649 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/2.027, allocations: 0 / 0.9649 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01101/2.038, allocations: 2.334 MB / 0.9672 GB, free: 177.3 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.02046/2.058, allocations: 14.5 MB / 0.9813 GB, free: 174.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01581/2.074, allocations: 9.884 MB / 0.991 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.074, allocations: 0 / 0.991 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009019/2.083, allocations: 5.443 MB / 0.9963 GB, free: 167.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/2.095, allocations: 1.636 MB / 0.9979 GB, free: 167.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1577/2.253, allocations: 79.82 MB / 1.076 GB, free: 97.12 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01971/2.273, allocations: 8.849 MB / 1.084 GB, free: 88.23 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009311/2.282, allocations: 2.542 MB / 1.087 GB, free: 85.68 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00987/2.292, allocations: 5.158 MB / 1.092 GB, free: 80.52 MB / 0.5607 GB Notification: Performance of SimCode: time 1.032e-06/2.292, allocations: 4 kB / 1.092 GB, free: 80.52 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5226/2.815, allocations: 187.7 MB / 1.275 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.97/29.78, allocations: 10.16 kB / 1.275 GB, free: 110.4 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