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.001711/0.001711, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002297/0.002297, allocations: 198 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.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3013, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01861/0.32, allocations: 14.07 MB / 422.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3314, allocations: 5.191 MB / 428 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.3345, allocations: 83.69 kB / 428.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.3386, allocations: 1.121 MB / 429.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.3445, allocations: 1.383 MB / 430.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.348, allocations: 1.004 MB / 431.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006858/0.3549, allocations: 4.116 MB / 435.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00488/0.3598, allocations: 3.257 MB / 439 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.3649, allocations: 1.932 MB / 440.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00614/0.3711, allocations: 2.277 MB / 443.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.3731, allocations: 0.5117 MB / 443.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.3766, allocations: 0.7692 MB / 444.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.379, allocations: 1.145 MB / 445.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.3846, allocations: 2.159 MB / 447.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.3987, allocations: 6.864 MB / 454.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3988, allocations: 0 / 454.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.099e-06/0.3988, allocations: 0 / 454.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000211/0.399, allocations: 3.938 kB / 454.7 MB, free: 3.422 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.01995/0.4189, allocations: 4.615 MB / 459.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.419, allocations: 12.03 kB / 459.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/0.4203, allocations: 455.7 kB / 459.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007552/0.4279, allocations: 0.8494 MB / 460.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/0.4355, allocations: 2.499 MB / 463.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.4359, allocations: 238.4 kB / 463.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.4372, allocations: 320 kB / 463.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.4476, allocations: 4.292 MB / 467.9 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.4478, allocations: 7.938 kB / 467.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006307/0.4485, allocations: 128 kB / 468.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.4487, allocations: 154.4 kB / 468.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008757/0.4574, allocations: 3.629 MB / 471.8 MB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/0.4872, allocations: 13.37 MB / 485.2 MB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009397/0.4967, allocations: 7.234 MB / 492.4 MB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.5003, allocations: 1.644 MB / 494.1 MB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009444/0.5098, allocations: 4.32 MB / 498.4 MB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.5116, allocations: 0.8688 MB / 499.3 MB, free: 5.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.672e-06/0.5116, allocations: 0 / 499.3 MB, free: 5.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01507/0.5267, allocations: 6.745 MB / 0.4942 GB, free: 14.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.5269, allocations: 230.9 kB / 0.4944 GB, free: 13.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.5308, allocations: 1.936 MB / 0.4963 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.5311, allocations: 61.69 kB / 0.4963 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.5329, allocations: 1.522 MB / 0.4978 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006515/0.5335, allocations: 0.5036 MB / 0.4983 GB, free: 9.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.5343, allocations: 307.5 kB / 0.4986 GB, free: 9.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5344, allocations: 305.1 kB / 0.4989 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.5357, allocations: 0.6754 MB / 0.4995 GB, free: 8.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.5375, allocations: 1.229 MB / 0.5007 GB, free: 7.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.5406, allocations: 1.959 MB / 0.5027 GB, free: 4.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.5406, allocations: 7.938 kB / 0.5027 GB, free: 4.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005006/0.5456, allocations: 2.523 MB / 0.5051 GB, free: 2.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.5457, allocations: 12 kB / 0.5051 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/0.5458, allocations: 16 kB / 0.5052 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009465/0.5467, allocations: 331.4 kB / 0.5055 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5482, allocations: 375.4 kB / 0.5058 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.5562, allocations: 6.799 MB / 0.5125 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5581, allocations: 99.91 kB / 0.5126 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.5584, allocations: 68 kB / 0.5126 GB, free: 10.22 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.002345/0.5608, allocations: 1.032 MB / 0.5136 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006238/0.5614, allocations: 226.6 kB / 0.5139 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/0.5664, allocations: 2.344 MB / 0.5161 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.5664, allocations: 16 kB / 0.5162 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/0.5665, allocations: 8 kB / 0.5162 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.5665, allocations: 3.984 kB / 0.5162 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.5774, allocations: 5.221 MB / 0.5213 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.5774, allocations: 0 / 0.5213 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008889/0.5783, allocations: 179.8 kB / 0.5214 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.5799, allocations: 0.496 MB / 0.5219 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.5801, allocations: 39.98 kB / 0.522 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.5933, allocations: 11.6 MB / 0.5333 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5934, allocations: 4.031 kB / 0.5333 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/0.5996, allocations: 3.245 MB / 0.5365 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6009, allocations: 443.6 kB / 0.5369 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006484/0.6016, allocations: 32 kB / 0.5369 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.6029, allocations: 71.94 kB / 0.537 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.6033, allocations: 93.69 kB / 0.5371 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6034, allocations: 47.97 kB / 0.5371 GB, free: 108 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2396/0.843, allocations: 1.333 MB / 0.5384 GB, free: 122.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.8431, allocations: 0 / 0.5384 GB, free: 122.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002965/0.846, allocations: 0.5918 MB / 0.539 GB, free: 122.5 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.006373/0.8524, allocations: 4.171 MB / 0.5431 GB, free: 121.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.8556, allocations: 2.226 MB / 0.5452 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8556, allocations: 3.625 kB / 0.5453 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.8575, allocations: 1.608 MB / 0.5468 GB, free: 119.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.86, allocations: 0.5423 MB / 0.5474 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/0.8861, allocations: 20.37 MB / 0.5672 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.8878, allocations: 2.367 MB / 0.5696 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.889, allocations: 409.1 kB / 0.5699 GB, free: 100.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.8901, allocations: 1.191 MB / 0.5711 GB, free: 99.66 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.8901, allocations: 0 / 0.5711 GB, free: 99.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.022, allocations: 55.17 MB / 0.625 GB, free: 45.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.23, allocations: 14.3 kB / 0.625 GB, free: 45 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.1.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