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.0014/0.001399, allocations: 117.4 kB / 17.28 MB, free: 6.219 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.001659/0.001659, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.245/1.245, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001055/0.001055, allocations: 47.92 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08108, allocations: 46.62 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009896/0.09101, allocations: 9.369 MB / 336.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005418/0.09646, allocations: 3.343 MB / 339.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008733/0.09735, allocations: 39.81 kB / 339.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.09901, allocations: 0.6647 MB / 340.3 MB, free: 7.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.1008, allocations: 0.719 MB / 341 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.1018, allocations: 403.5 kB / 341.4 MB, free: 6.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1041, allocations: 2.412 MB / 343.8 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.1059, allocations: 1.735 MB / 345.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.1072, allocations: 1.094 MB / 346.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1087, allocations: 1.417 MB / 348.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.109, allocations: 280 kB / 348.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.1096, allocations: 403.8 kB / 348.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006884/0.1103, allocations: 0.8103 MB / 349.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1114, allocations: 1.283 MB / 350.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.1144, allocations: 3.696 MB / 354.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1144, allocations: 0 / 354.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1144, allocations: 0 / 354.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.1145, allocations: 0 / 354.5 MB, free: 8.887 MB / 302.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.004443/0.1189, allocations: 2.667 MB / 357.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.119, allocations: 12.03 kB / 357.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003072/0.1193, allocations: 278.6 kB / 357.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.1199, allocations: 270 kB / 357.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.1217, allocations: 1.295 MB / 359 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.1219, allocations: 139.7 kB / 359.2 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.1221, allocations: 191.9 kB / 359.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/0.1258, allocations: 2.432 MB / 361.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.1259, allocations: 15.83 kB / 361.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.126, allocations: 76 kB / 361.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.1261, allocations: 95.67 kB / 362 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.1292, allocations: 1.978 MB / 364 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.1393, allocations: 7.401 MB / 371.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.141, allocations: 1.359 MB / 372.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.1425, allocations: 0.8862 MB / 373.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.1428, allocations: 114.1 kB / 373.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.1438, allocations: 0.6914 MB / 374.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.925e-06/0.1438, allocations: 0 / 374.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.141/0.2849, allocations: 7.349 MB / 381.8 MB, free: 51.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.2849, allocations: 202.1 kB / 381.9 MB, free: 50.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.2866, allocations: 1.421 MB / 383.4 MB, free: 50.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.2867, allocations: 47.48 kB / 383.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/0.2874, allocations: 0.934 MB / 384.4 MB, free: 49.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.2876, allocations: 415.6 kB / 384.8 MB, free: 49.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.288, allocations: 247.6 kB / 385 MB, free: 49.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.2881, allocations: 365 kB / 385.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009011/0.289, allocations: 0.6326 MB / 386 MB, free: 48.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.29, allocations: 0.9985 MB / 387 MB, free: 47.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.292, allocations: 1.714 MB / 388.7 MB, free: 46.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.292, allocations: 2.219 kB / 388.7 MB, free: 46.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003348/0.2953, allocations: 2.335 MB / 391 MB, free: 45.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2954, allocations: 9.609 kB / 391 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2954, allocations: 9.094 kB / 391.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.2965, allocations: 498.4 kB / 391.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.2975, allocations: 304.8 kB / 391.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.3025, allocations: 7.179 MB / 399 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3036, allocations: 86.02 kB / 399.1 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.3037, allocations: 53.38 kB / 399.2 MB, free: 40.13 MB / 318.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.0008003/0.3045, allocations: 0.6455 MB / 399.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3047, allocations: 164.2 kB / 400 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.3074, allocations: 2.127 MB / 402.1 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3074, allocations: 15.41 kB / 402.1 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3074, allocations: 3.906 kB / 402.1 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3075, allocations: 7.688 kB / 402.1 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.3126, allocations: 4.557 MB / 406.7 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3126, allocations: 6.562 kB / 406.7 MB, free: 36.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.3133, allocations: 191.7 kB / 406.9 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.3145, allocations: 0.5392 MB / 407.4 MB, free: 35.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.3146, allocations: 35.83 kB / 407.4 MB, free: 35.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.3199, allocations: 8.73 MB / 416.2 MB, free: 26.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3199, allocations: 4 kB / 416.2 MB, free: 26.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.3233, allocations: 3.088 MB / 419.3 MB, free: 22.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.3238, allocations: 378.8 kB / 419.6 MB, free: 22.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.324, allocations: 35.98 kB / 419.7 MB, free: 22.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.3247, allocations: 71.94 kB / 419.7 MB, free: 22.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.3249, allocations: 99.48 kB / 419.8 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.325, allocations: 39.98 kB / 419.9 MB, free: 22.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.326, allocations: 0.9753 MB / 420.8 MB, free: 21.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.326, allocations: 4 kB / 420.9 MB, free: 21.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001291/0.3273, allocations: 454.6 kB / 421.3 MB, free: 20.8 MB / 318.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.004266/0.3316, allocations: 4.026 MB / 425.3 MB, free: 16.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.3351, allocations: 2.675 MB / 428 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3351, allocations: 0 / 428 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.3367, allocations: 1.525 MB / 429.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.3383, allocations: 429.3 kB / 429.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/0.3605, allocations: 18.34 MB / 448.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.3619, allocations: 1.704 MB / 450 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009242/0.3628, allocations: 329 kB / 450.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.3638, allocations: 0.7453 MB / 451 MB, free: 5.82 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3638, allocations: 0 / 451 MB, free: 5.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/0.4347, allocations: 40.52 MB / 491.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.4349, allocations: 306 kB / 491.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.11, allocations: 4 kB / 491.9 MB, free: 12.82 MB / 382.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","../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