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.001156/0.001156, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001165/0.001165, allocations: 187 kB / 18.66 MB, free: 4.398 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.396/1.396, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001299/0.001299, allocations: 51.92 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09535, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.2095/0.3049, allocations: 13.37 MB / 388 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.315, allocations: 4.755 MB / 392.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.3186, allocations: 75.56 kB / 392.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.3226, allocations: 1.095 MB / 394 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.3286, allocations: 1.363 MB / 395.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.3316, allocations: 0.9768 MB / 396.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006567/0.3382, allocations: 4.07 MB / 400.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004449/0.3427, allocations: 3.2 MB / 403.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.3467, allocations: 1.919 MB / 405.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.3515, allocations: 2.16 MB / 407.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.3531, allocations: 0.5123 MB / 408.2 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.3559, allocations: 0.7479 MB / 408.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.3574, allocations: 1.143 MB / 410 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004572/0.362, allocations: 2.145 MB / 412.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3745, allocations: 6.786 MB / 419 MB, free: 3.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.3746, allocations: 0 / 419 MB, free: 3.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3746, allocations: 1.375 kB / 419 MB, free: 3.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002331/0.3748, allocations: 0 / 419 MB, free: 3.508 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.01536/0.3902, allocations: 4.49 MB / 423.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3902, allocations: 8.031 kB / 423.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00135/0.3916, allocations: 455.7 kB / 423.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.3967, allocations: 0.824 MB / 424.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006009/0.4028, allocations: 2.326 MB / 427.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.4031, allocations: 238.4 kB / 427.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.4045, allocations: 319.9 kB / 427.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.4155, allocations: 4.284 MB / 431.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.479e-05/0.4156, allocations: 0 / 431.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/0.4162, allocations: 140 kB / 432 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.4163, allocations: 154.4 kB / 432.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008182/0.4245, allocations: 3.629 MB / 435.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.4501, allocations: 13.25 MB / 449.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007147/0.4572, allocations: 6.956 MB / 456 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.4596, allocations: 1.367 MB / 457.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006987/0.4666, allocations: 3.822 MB / 461.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.468, allocations: 0.8493 MB / 462.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.986e-06/0.468, allocations: 0 / 462.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01327/0.4813, allocations: 6.489 MB / 468.6 MB, free: 252 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.4815, allocations: 222.9 kB / 468.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.4847, allocations: 1.918 MB / 470.7 MB, free: 14.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.4849, allocations: 53.7 kB / 470.7 MB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.4864, allocations: 1.47 MB / 472.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.4869, allocations: 489 kB / 472.7 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.4875, allocations: 307.3 kB / 473 MB, free: 11.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4876, allocations: 305.1 kB / 473.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.4888, allocations: 0.6559 MB / 473.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.4904, allocations: 1.222 MB / 475.2 MB, free: 9.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.4931, allocations: 1.936 MB / 477.1 MB, free: 7.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4931, allocations: 4 kB / 477.1 MB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004409/0.4975, allocations: 2.428 MB / 479.5 MB, free: 4.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.4976, allocations: 12 kB / 479.5 MB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.4976, allocations: 23.94 kB / 479.6 MB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.4984, allocations: 283.3 kB / 479.8 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.4999, allocations: 383.4 kB / 480.2 MB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00647/0.5064, allocations: 6.37 MB / 486.6 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.5083, allocations: 92.02 kB / 486.7 MB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.5086, allocations: 71.94 kB / 486.7 MB, free: 13.06 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.002326/0.5109, allocations: 1.035 MB / 487.8 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005915/0.5115, allocations: 201.5 kB / 488 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.5159, allocations: 2.253 MB / 490.2 MB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.5159, allocations: 16 kB / 490.2 MB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.5159, allocations: 11.94 kB / 490.3 MB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.516, allocations: 11.97 kB / 490.3 MB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009211/0.5252, allocations: 5.081 MB / 495.4 MB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.5252, allocations: 0 / 495.4 MB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.5261, allocations: 187.9 kB / 495.5 MB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.5274, allocations: 464.3 kB / 496 MB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.5276, allocations: 39.92 kB / 496 MB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.5387, allocations: 11.13 MB / 0.4953 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5387, allocations: 4.031 kB / 0.4953 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.5444, allocations: 3.14 MB / 0.4983 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.5459, allocations: 426.5 kB / 0.4988 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/0.5464, allocations: 39.98 kB / 0.4988 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5474, allocations: 63.95 kB / 0.4989 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.5478, allocations: 101.1 kB / 0.4989 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.144e-05/0.5479, allocations: 39.98 kB / 0.499 GB, free: 3.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002351/0.5502, allocations: 1.315 MB / 0.5003 GB, free: 2.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5503, allocations: 0 / 0.5003 GB, free: 2.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002903/0.5532, allocations: 0.5781 MB / 0.5008 GB, free: 1.926 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.006676/0.5599, allocations: 4.053 MB / 0.5048 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.5637, allocations: 2.172 MB / 0.5069 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5637, allocations: 0 / 0.5069 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.5663, allocations: 1.59 MB / 0.5085 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.5691, allocations: 0.5406 MB / 0.509 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.6008, allocations: 20.01 MB / 0.5285 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.6031, allocations: 2.352 MB / 0.5308 GB, free: 2.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001441/0.6046, allocations: 405 kB / 0.5312 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.6061, allocations: 1.163 MB / 0.5324 GB, free: 0.707 MB / 462.1 MB Notification: Performance of SimCode: time 2.003e-06/0.6061, allocations: 0 / 0.5324 GB, free: 0.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.9013, allocations: 54.76 MB / 0.5858 GB, free: 137.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.69, allocations: 4.953 kB / 0.5858 GB, free: 137.5 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