Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2904, allocations: 50.53 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01551/0.3059, allocations: 14.07 MB / 422.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.3168, allocations: 5.195 MB / 428 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.3199, allocations: 87.62 kB / 428.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.3235, allocations: 1.157 MB / 429.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3285, allocations: 1.426 MB / 430.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.3314, allocations: 1.007 MB / 431.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005855/0.3373, allocations: 4.123 MB / 435.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/0.3426, allocations: 3.253 MB / 439.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.3465, allocations: 1.939 MB / 441 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004549/0.351, allocations: 2.289 MB / 443.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.3529, allocations: 0.5078 MB / 443.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.3555, allocations: 0.7731 MB / 444.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001902/0.3574, allocations: 1.149 MB / 445.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003889/0.3613, allocations: 2.143 MB / 447.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009373/0.3707, allocations: 6.864 MB / 454.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3707, allocations: 0 / 454.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3707, allocations: 3.938 kB / 454.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002285/0.371, allocations: 0 / 454.8 MB, free: 3.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01476/0.3857, allocations: 4.615 MB / 459.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3858, allocations: 8.031 kB / 459.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.3873, allocations: 467.7 kB / 459.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00528/0.3926, allocations: 0.8495 MB / 460.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.399, allocations: 2.499 MB / 463.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.3993, allocations: 242.4 kB / 463.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.4004, allocations: 319.9 kB / 463.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.4111, allocations: 4.288 MB / 468 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.4113, allocations: 7.953 kB / 468 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007719/0.4121, allocations: 128 kB / 468.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.4123, allocations: 154.4 kB / 468.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008083/0.4203, allocations: 3.625 MB / 471.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/0.4474, allocations: 13.38 MB / 485.3 MB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.4556, allocations: 7.238 MB / 492.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/0.4589, allocations: 1.636 MB / 494.2 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008275/0.4672, allocations: 4.312 MB / 498.5 MB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.4686, allocations: 0.8688 MB / 499.4 MB, free: 5.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.577e-06/0.4687, allocations: 0 / 499.4 MB, free: 5.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01366/0.4823, allocations: 6.753 MB / 0.4943 GB, free: 14.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4825, allocations: 226.9 kB / 0.4945 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/0.4865, allocations: 1.944 MB / 0.4964 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.4867, allocations: 49.7 kB / 0.4964 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.4883, allocations: 1.526 MB / 0.4979 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.4889, allocations: 0.4997 MB / 0.4984 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006146/0.4895, allocations: 307.5 kB / 0.4987 GB, free: 9.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4896, allocations: 305.1 kB / 0.499 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.4908, allocations: 0.6715 MB / 0.4996 GB, free: 8.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.4925, allocations: 1.232 MB / 0.5008 GB, free: 6.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.4955, allocations: 1.959 MB / 0.5028 GB, free: 4.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.4955, allocations: 7.938 kB / 0.5028 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005438/0.5009, allocations: 2.523 MB / 0.5052 GB, free: 2.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.501, allocations: 12 kB / 0.5052 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.001e-05/0.5011, allocations: 16 kB / 0.5053 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5021, allocations: 339 kB / 0.5056 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.5035, allocations: 371.4 kB / 0.5059 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/0.5106, allocations: 6.8 MB / 0.5126 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.5124, allocations: 99.91 kB / 0.5127 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.5127, allocations: 75.98 kB / 0.5127 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.5148, allocations: 1.036 MB / 0.5137 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.5154, allocations: 218.6 kB / 0.514 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.52, allocations: 2.344 MB / 0.5162 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5201, allocations: 12 kB / 0.5163 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/0.5201, allocations: 8 kB / 0.5163 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.5201, allocations: 7.969 kB / 0.5163 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.5298, allocations: 5.222 MB / 0.5214 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/0.5299, allocations: 0 / 0.5214 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.5307, allocations: 175.8 kB / 0.5215 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.5321, allocations: 0.5034 MB / 0.522 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.5323, allocations: 35.97 kB / 0.5221 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.5446, allocations: 11.6 MB / 0.5334 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5447, allocations: 0 / 0.5334 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.5508, allocations: 3.249 MB / 0.5366 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.5519, allocations: 439.6 kB / 0.537 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/0.5525, allocations: 36.36 kB / 0.537 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.5537, allocations: 63.95 kB / 0.5371 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.5541, allocations: 105.2 kB / 0.5372 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.5542, allocations: 35.98 kB / 0.5372 GB, free: 4 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2792/0.8334, allocations: 1.331 MB / 0.5385 GB, free: 122.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8334, allocations: 0.9375 kB / 0.5385 GB, free: 122.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002975/0.8364, allocations: 0.5884 MB / 0.5391 GB, free: 122.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005644/0.8421, allocations: 4.175 MB / 0.5432 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.845, allocations: 2.23 MB / 0.5453 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8451, allocations: 6.312 kB / 0.5454 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.8469, allocations: 1.608 MB / 0.5469 GB, free: 119.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.8491, allocations: 0.5469 MB / 0.5475 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/0.8736, allocations: 20.36 MB / 0.5673 GB, free: 103.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.8751, allocations: 2.364 MB / 0.5697 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.8762, allocations: 405.2 kB / 0.57 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8773, allocations: 1.193 MB / 0.5712 GB, free: 99.77 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.8773, allocations: 0 / 0.5712 GB, free: 99.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08959/0.9669, allocations: 55.17 MB / 0.6251 GB, free: 45.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.58, allocations: 11.66 kB / 0.6251 GB, free: 45.1 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches