Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_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.001048/0.001048, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001085/0.001086, allocations: 191 kB / 18.66 MB, free: 4.418 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.475/1.475, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001331/0.001331, allocations: 47.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.2148/0.3149, allocations: 9.424 MB / 384.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006878/0.3218, allocations: 3.387 MB / 387.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.324, allocations: 43.19 kB / 387.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.3266, allocations: 0.7333 MB / 388.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.3299, allocations: 0.8102 MB / 389.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3314, allocations: 451.3 kB / 389.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.335, allocations: 2.422 MB / 391.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.3371, allocations: 1.727 MB / 393.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.3392, allocations: 1.094 MB / 394.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.3419, allocations: 1.387 MB / 396.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006535/0.3426, allocations: 279.8 kB / 396.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3439, allocations: 410.1 kB / 396.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.3447, allocations: 0.8004 MB / 397.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.3463, allocations: 1.284 MB / 398.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.3512, allocations: 3.722 MB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3512, allocations: 0 / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3512, allocations: 0 / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.686e-05/0.3513, allocations: 3.938 kB / 402.6 MB, free: 15.15 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006858/0.3582, allocations: 2.669 MB / 405.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3582, allocations: 8.875 kB / 405.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/0.3587, allocations: 278.8 kB / 405.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.3597, allocations: 267.2 kB / 405.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.3623, allocations: 1.32 MB / 407.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.3625, allocations: 143.2 kB / 407.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.3628, allocations: 191.1 kB / 407.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.3674, allocations: 2.432 MB / 409.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.3675, allocations: 11.61 kB / 409.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.3677, allocations: 79.45 kB / 410 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.3678, allocations: 99.61 kB / 410.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.3712, allocations: 1.983 MB / 412.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.3834, allocations: 7.326 MB / 419.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3852, allocations: 1.344 MB / 420.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.3867, allocations: 0.8627 MB / 421.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.3869, allocations: 126.1 kB / 421.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.388, allocations: 0.6875 MB / 422.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.345e-06/0.388, allocations: 0 / 422.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0154/0.4034, allocations: 7.361 MB / 429.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.4035, allocations: 200.9 kB / 430 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.4055, allocations: 1.414 MB / 431.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.4056, allocations: 49.7 kB / 431.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/0.4064, allocations: 0.9288 MB / 432.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4067, allocations: 421.9 kB / 432.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.4071, allocations: 243.5 kB / 433 MB, free: 4.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4073, allocations: 361.9 kB / 433.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/0.4083, allocations: 0.6325 MB / 434 MB, free: 3.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.4096, allocations: 0.999 MB / 435 MB, free: 2.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.4118, allocations: 1.712 MB / 436.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4118, allocations: 4 kB / 436.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003889/0.4157, allocations: 2.344 MB / 439.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.4158, allocations: 8 kB / 439.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.4158, allocations: 12 kB / 439.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4169, allocations: 491.9 kB / 439.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.418, allocations: 287.6 kB / 439.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.4248, allocations: 7.191 MB / 447 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4263, allocations: 95.78 kB / 447.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4265, allocations: 56.06 kB / 447.2 MB, free: 5.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001439/0.4279, allocations: 0.6262 MB / 447.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.4283, allocations: 154.1 kB / 448 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.4321, allocations: 2.139 MB / 450.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.4321, allocations: 12 kB / 450.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4322, allocations: 4 kB / 450.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.4322, allocations: 7.969 kB / 450.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007802/0.44, allocations: 4.548 MB / 454.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.44, allocations: 0 / 454.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.4408, allocations: 188.1 kB / 454.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4421, allocations: 0.5348 MB / 455.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.4422, allocations: 39.97 kB / 455.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008061/0.4503, allocations: 8.727 MB / 464.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4503, allocations: 4 kB / 464.1 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.4552, allocations: 3.095 MB / 467.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.4562, allocations: 375 kB / 467.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4564, allocations: 31.98 kB / 467.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.4572, allocations: 67.92 kB / 467.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.4575, allocations: 104.8 kB / 467.8 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.4575, allocations: 39.98 kB / 467.8 MB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.4589, allocations: 0.9754 MB / 468.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4589, allocations: 0 / 468.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4606, allocations: 452 kB / 469.3 MB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005823/0.4665, allocations: 4.031 MB / 473.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4701, allocations: 2.264 MB / 475.6 MB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4702, allocations: 0 / 475.6 MB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.4724, allocations: 1.514 MB / 477.1 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.4747, allocations: 424.3 kB / 477.5 MB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02437/0.4991, allocations: 16.14 MB / 493.6 MB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.5005, allocations: 1.706 MB / 495.3 MB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.5015, allocations: 317 kB / 495.6 MB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009382/0.5025, allocations: 0.7453 MB / 496.4 MB, free: 3.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5025, allocations: 4 kB / 496.4 MB, free: 3.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08918/0.5917, allocations: 41.93 MB / 0.5257 GB, free: 8.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.57, allocations: 8.25 kB / 0.5257 GB, free: 8.953 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches