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.001339/0.001339, allocations: 105.6 kB / 17.73 MB, free: 5.367 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.001412/0.001412, allocations: 188.1 kB / 18.66 MB, free: 4.445 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.4/1.4, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001386/0.001386, allocations: 55.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08968, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1906/0.2803, allocations: 9.424 MB / 384.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0065/0.2869, allocations: 3.397 MB / 387.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.2884, allocations: 42.03 kB / 387.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.2904, allocations: 0.7308 MB / 388.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.2934, allocations: 0.8054 MB / 389.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2949, allocations: 454.7 kB / 389.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003273/0.2981, allocations: 2.415 MB / 391.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.301, allocations: 1.73 MB / 393.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.3035, allocations: 1.1 MB / 394.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.3066, allocations: 1.387 MB / 396.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.3079, allocations: 281.4 kB / 396.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.31, allocations: 405.1 kB / 396.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.3115, allocations: 0.7971 MB / 397.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.3142, allocations: 1.29 MB / 398.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.3197, allocations: 3.725 MB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3198, allocations: 1.094 kB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3198, allocations: 0 / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.3199, allocations: 0 / 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.006554/0.3264, allocations: 2.668 MB / 405.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3265, allocations: 9.406 kB / 405.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004126/0.3269, allocations: 282 kB / 405.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.3277, allocations: 262.6 kB / 405.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.3301, allocations: 1.32 MB / 407.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3303, allocations: 139.1 kB / 407.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.3306, allocations: 194.4 kB / 407.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.3347, allocations: 2.436 MB / 409.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.3348, allocations: 3.562 kB / 409.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.335, allocations: 76.73 kB / 410 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3351, allocations: 99.14 kB / 410.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.3385, allocations: 1.982 MB / 412.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.3519, allocations: 7.319 MB / 419.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.3539, allocations: 1.348 MB / 420.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.3556, allocations: 0.8706 MB / 421.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.3559, allocations: 126 kB / 421.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.3571, allocations: 0.6837 MB / 422.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.325e-06/0.3571, allocations: 0 / 422.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01628/0.3734, allocations: 7.361 MB / 429.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.3736, allocations: 196.9 kB / 430 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.3758, allocations: 1.414 MB / 431.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.376, allocations: 53.64 kB / 431.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008043/0.3769, allocations: 0.9327 MB / 432.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.3773, allocations: 422 kB / 432.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.3778, allocations: 247.4 kB / 433 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.378, allocations: 357.9 kB / 433.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3791, allocations: 0.6325 MB / 434 MB, free: 3.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.3803, allocations: 1.003 MB / 435 MB, free: 2.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.3826, allocations: 1.708 MB / 436.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3826, allocations: 4 kB / 436.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003858/0.3864, allocations: 2.336 MB / 439 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3865, allocations: 8 kB / 439.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3865, allocations: 12 kB / 439.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.3877, allocations: 496.1 kB / 439.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3888, allocations: 299.5 kB / 439.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/0.396, allocations: 7.18 MB / 447 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.3975, allocations: 95.78 kB / 447.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3977, allocations: 56 kB / 447.2 MB, free: 6.035 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.001307/0.399, allocations: 0.6411 MB / 447.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.3994, allocations: 154.1 kB / 448 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4031, allocations: 2.139 MB / 450.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4032, allocations: 12 kB / 450.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.4032, allocations: 8.062 kB / 450.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.4032, allocations: 3.984 kB / 450.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008187/0.4114, allocations: 4.54 MB / 454.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4115, allocations: 0 / 454.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.4123, allocations: 195.7 kB / 454.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.4138, allocations: 0.5314 MB / 455.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.414, allocations: 35.98 kB / 455.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008307/0.4223, allocations: 8.723 MB / 464.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.4223, allocations: 7.984 kB / 464.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.4273, allocations: 3.091 MB / 467.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4283, allocations: 371.1 kB / 467.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.4286, allocations: 28 kB / 467.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.4295, allocations: 71.92 kB / 467.7 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.4298, allocations: 104.7 kB / 467.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.4298, allocations: 39.98 kB / 467.8 MB, free: 488 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.4313, allocations: 0.9714 MB / 468.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4313, allocations: 4 kB / 468.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001908/0.4332, allocations: 452 kB / 469.3 MB, free: 15.06 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.005893/0.4391, allocations: 4.037 MB / 473.3 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.4432, allocations: 2.255 MB / 475.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.4432, allocations: 0 / 475.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.4457, allocations: 1.519 MB / 477.1 MB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.4482, allocations: 432.2 kB / 477.5 MB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/0.4729, allocations: 16.14 MB / 493.6 MB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.4744, allocations: 1.706 MB / 495.3 MB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.4755, allocations: 325 kB / 495.7 MB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009903/0.4765, allocations: 0.7453 MB / 496.4 MB, free: 3.051 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4765, allocations: 4 kB / 496.4 MB, free: 3.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.5796, allocations: 41.93 MB / 0.5257 GB, free: 9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.76, allocations: 8.188 kB / 0.5257 GB, free: 8.992 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