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.001589/0.001589, allocations: 118.1 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.001926/0.001927, allocations: 202 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.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.06 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 50.55 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01628/0.2949, allocations: 14.06 MB / 422.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3053, allocations: 5.203 MB / 428 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.3078, allocations: 83.69 kB / 428.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.311, allocations: 1.16 MB / 429.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.3154, allocations: 1.426 MB / 430.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.318, allocations: 1.004 MB / 431.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00512/0.3232, allocations: 4.12 MB / 435.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.3272, allocations: 3.249 MB / 439.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.3303, allocations: 1.943 MB / 441 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.3339, allocations: 2.289 MB / 443.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.3349, allocations: 0.5078 MB / 443.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.3369, allocations: 0.7691 MB / 444.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.338, allocations: 1.145 MB / 445.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.3408, allocations: 2.151 MB / 447.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007666/0.3485, allocations: 6.867 MB / 454.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3486, allocations: 4 kB / 454.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3486, allocations: 0 / 454.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001453/0.3487, allocations: 0 / 454.8 MB, free: 3.348 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.01204/0.3608, allocations: 4.611 MB / 459.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3608, allocations: 12.03 kB / 459.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/0.3615, allocations: 455.7 kB / 459.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/0.366, allocations: 0.8495 MB / 460.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.3714, allocations: 2.507 MB / 463.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.3717, allocations: 238.4 kB / 463.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/0.3724, allocations: 316 kB / 463.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007892/0.3803, allocations: 4.292 MB / 468 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.043e-05/0.3804, allocations: 11.88 kB / 468 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.3807, allocations: 128 kB / 468.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.3809, allocations: 150.4 kB / 468.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006407/0.3873, allocations: 3.636 MB / 471.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.4092, allocations: 13.37 MB / 485.3 MB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/0.4166, allocations: 7.238 MB / 492.5 MB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.4199, allocations: 1.64 MB / 494.2 MB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008104/0.428, allocations: 4.312 MB / 498.5 MB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.4295, allocations: 0.8728 MB / 499.4 MB, free: 5.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.156e-06/0.4295, allocations: 0 / 499.4 MB, free: 5.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01426/0.4437, allocations: 6.745 MB / 0.4943 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.4439, allocations: 226.9 kB / 0.4945 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.4476, allocations: 1.936 MB / 0.4964 GB, free: 11.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.4479, allocations: 65.56 kB / 0.4964 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.4495, allocations: 1.522 MB / 0.4979 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.4501, allocations: 0.4997 MB / 0.4984 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/0.4509, allocations: 307.5 kB / 0.4987 GB, free: 9.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.451, allocations: 305.1 kB / 0.499 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.4523, allocations: 0.6793 MB / 0.4996 GB, free: 8.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.4539, allocations: 1.232 MB / 0.5008 GB, free: 6.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.4567, allocations: 1.955 MB / 0.5028 GB, free: 4.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.4568, allocations: 11.94 kB / 0.5028 GB, free: 4.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004497/0.4613, allocations: 2.52 MB / 0.5052 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.4613, allocations: 12 kB / 0.5052 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.4614, allocations: 16 kB / 0.5053 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/0.4623, allocations: 335.4 kB / 0.5056 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4637, allocations: 371.4 kB / 0.5059 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007334/0.4711, allocations: 6.804 MB / 0.5126 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.4729, allocations: 99.91 kB / 0.5127 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.4731, allocations: 72 kB / 0.5127 GB, free: 10.13 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.002067/0.4752, allocations: 1.032 MB / 0.5137 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/0.4758, allocations: 222.6 kB / 0.514 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/0.4803, allocations: 2.348 MB / 0.5162 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4803, allocations: 16 kB / 0.5163 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.4804, allocations: 4 kB / 0.5163 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4804, allocations: 3.984 kB / 0.5163 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.491, allocations: 5.225 MB / 0.5214 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4911, allocations: 0 / 0.5214 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.4919, allocations: 179.8 kB / 0.5215 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.4932, allocations: 0.4961 MB / 0.522 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.4933, allocations: 39.98 kB / 0.5221 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5046, allocations: 11.59 MB / 0.5334 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5047, allocations: 8 kB / 0.5334 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.5101, allocations: 3.253 MB / 0.5366 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.5112, allocations: 443.6 kB / 0.537 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/0.5118, allocations: 32 kB / 0.537 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.513, allocations: 63.95 kB / 0.5371 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.5133, allocations: 101.2 kB / 0.5372 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.5134, allocations: 43.98 kB / 0.5372 GB, free: 20 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2526/0.766, allocations: 1.328 MB / 0.5385 GB, free: 122.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.766, allocations: 0 / 0.5385 GB, free: 122.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003042/0.7691, allocations: 0.5866 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.00577/0.7749, allocations: 4.177 MB / 0.5432 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.7779, allocations: 2.232 MB / 0.5454 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7779, allocations: 0 / 0.5454 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.7799, allocations: 1.613 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.002602/0.7826, allocations: 0.5488 MB / 0.5475 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/0.8078, 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.001549/0.8094, allocations: 2.356 MB / 0.5696 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.8106, 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.001185/0.8118, allocations: 1.196 MB / 0.5712 GB, free: 99.78 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.8118, allocations: 0 / 0.5712 GB, free: 99.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.9159, allocations: 55.17 MB / 0.6251 GB, free: 45.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.56, allocations: 14.45 kB / 0.6251 GB, free: 45.11 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