Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",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.001612/0.001612, allocations: 114 kB / 17.74 MB, free: 5.355 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.001705/0.001706, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1015, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.1702/0.2718, allocations: 13.38 MB / 388 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00781/0.2796, allocations: 4.745 MB / 392.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.2821, allocations: 71.69 kB / 392.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.2851, allocations: 1.098 MB / 394 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.2894, allocations: 1.373 MB / 395.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.2918, allocations: 0.968 MB / 396.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.2979, allocations: 4.062 MB / 400.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004379/0.3023, allocations: 3.2 MB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.3064, allocations: 1.91 MB / 405.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.3108, allocations: 2.167 MB / 407.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.312, allocations: 0.5083 MB / 408.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.3144, allocations: 0.7489 MB / 408.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.3159, allocations: 1.141 MB / 410 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00405/0.3199, allocations: 2.139 MB / 412.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0087/0.3286, allocations: 6.806 MB / 419 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3287, allocations: 1.375 kB / 419 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3287, allocations: 0 / 419 MB, free: 3.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000176/0.3289, allocations: 0 / 419 MB, free: 3.52 MB / 334.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.01347/0.3423, allocations: 4.588 MB / 423.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3424, allocations: 8.031 kB / 423.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007999/0.3432, allocations: 459.7 kB / 424 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.3477, allocations: 0.8378 MB / 424.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.3528, allocations: 2.337 MB / 427.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3531, allocations: 246.4 kB / 427.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.3538, allocations: 316 kB / 427.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008534/0.3624, allocations: 4.292 MB / 432 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/0.3625, allocations: 0 / 432 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.3628, allocations: 132 kB / 432.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.363, allocations: 154.4 kB / 432.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007068/0.3701, allocations: 3.617 MB / 435.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.3929, allocations: 13.29 MB / 449.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007887/0.4008, allocations: 6.97 MB / 456.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.4033, allocations: 1.367 MB / 457.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007012/0.4103, allocations: 3.825 MB / 461.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.4118, allocations: 0.8455 MB / 462.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.146e-06/0.4118, allocations: 0 / 462.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01318/0.425, allocations: 6.541 MB / 468.8 MB, free: 44 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.4252, allocations: 230.9 kB / 469 MB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/0.4281, allocations: 1.915 MB / 470.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4283, allocations: 53.7 kB / 471 MB, free: 13.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4297, allocations: 1.502 MB / 472.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.4302, allocations: 0.5074 MB / 473 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/0.4307, allocations: 307.5 kB / 473.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4309, allocations: 305.1 kB / 473.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.432, allocations: 0.6598 MB / 474.2 MB, free: 10.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.4337, allocations: 1.218 MB / 475.5 MB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.4365, allocations: 1.936 MB / 477.4 MB, free: 6.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4365, allocations: 4 kB / 477.4 MB, free: 6.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004293/0.4408, allocations: 2.437 MB / 479.8 MB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4409, allocations: 15.94 kB / 479.9 MB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.4409, allocations: 16 kB / 479.9 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/0.4417, allocations: 291.3 kB / 480.2 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.4432, allocations: 375.4 kB / 480.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4499, allocations: 6.383 MB / 486.9 MB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.4515, allocations: 92.02 kB / 487 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.4517, allocations: 71.98 kB / 487.1 MB, free: 12.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.4536, allocations: 1.039 MB / 488.1 MB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.454, allocations: 214.6 kB / 488.3 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.4582, allocations: 2.242 MB / 490.6 MB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.4582, allocations: 16 kB / 490.6 MB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.4582, allocations: 8 kB / 490.6 MB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.4583, allocations: 15.91 kB / 490.6 MB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.4672, allocations: 5.088 MB / 495.7 MB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4672, allocations: 0 / 495.7 MB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.4681, allocations: 187.8 kB / 495.9 MB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4694, allocations: 468.2 kB / 496.3 MB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.4695, allocations: 35.98 kB / 496.4 MB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.4814, allocations: 11.14 MB / 0.4956 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4815, allocations: 0 / 0.4956 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/0.487, allocations: 3.149 MB / 0.4987 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.4881, allocations: 439.6 kB / 0.4991 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.4884, allocations: 36 kB / 0.4991 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/0.4893, allocations: 63.95 kB / 0.4992 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.4896, allocations: 105.1 kB / 0.4993 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-05/0.4897, allocations: 39.98 kB / 0.4993 GB, free: 3.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.4919, allocations: 1.315 MB / 0.5006 GB, free: 2.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4919, allocations: 0 / 0.5006 GB, free: 2.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002196/0.4941, allocations: 0.582 MB / 0.5012 GB, free: 1.613 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 95 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.007134/0.5012, allocations: 4.07 MB / 0.5052 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.505, allocations: 2.168 MB / 0.5073 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.505, allocations: 8.062 kB / 0.5073 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.5076, allocations: 1.586 MB / 0.5088 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.5102, allocations: 0.5367 MB / 0.5094 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.5437, allocations: 20.12 MB / 0.529 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/0.5462, allocations: 2.352 MB / 0.5313 GB, free: 1.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.5476, allocations: 405 kB / 0.5317 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.5493, allocations: 1.167 MB / 0.5328 GB, free: 268 kB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5493, allocations: 0 / 0.5328 GB, free: 268 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.8177, allocations: 54.44 MB / 0.586 GB, free: 138 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.85, allocations: 8.844 kB / 0.586 GB, free: 137.9 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches