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.001583/0.001583, allocations: 104 kB / 17.58 MB, free: 5.418 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.001923/0.001923, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.448/1.448, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001237/0.001237, allocations: 52.14 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09509, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01134/0.1065, allocations: 9.416 MB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.1139, allocations: 3.39 MB / 340.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.1153, allocations: 47.81 kB / 340.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.1171, allocations: 0.73 MB / 341 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.1194, allocations: 0.8077 MB / 341.8 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1206, allocations: 455.2 kB / 342.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.1228, allocations: 2.409 MB / 344.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.1247, allocations: 1.735 MB / 346.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.1262, allocations: 1.09 MB / 347.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1279, allocations: 1.382 MB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.1283, allocations: 280 kB / 349.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008013/0.1292, allocations: 407.8 kB / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007958/0.13, allocations: 0.8025 MB / 350.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1315, allocations: 1.283 MB / 351.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.1349, allocations: 3.692 MB / 355.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.135, allocations: 3.938 kB / 355.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.135, allocations: 0 / 355.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.985e-05/0.135, allocations: 0 / 355.3 MB, free: 8.309 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.004931/0.14, allocations: 2.667 MB / 358 MB, free: 5.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.14, allocations: 12.02 kB / 358 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/0.1404, allocations: 278.5 kB / 358.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.141, allocations: 266 kB / 358.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.143, allocations: 1.299 MB / 359.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.1431, allocations: 135.7 kB / 359.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.1434, allocations: 191.9 kB / 360.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.147, allocations: 2.436 MB / 362.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.1471, allocations: 7.906 kB / 362.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1472, allocations: 72 kB / 362.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/0.1473, allocations: 99.67 kB / 362.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.1504, allocations: 1.982 MB / 364.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.1612, allocations: 7.397 MB / 372.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1633, allocations: 1.362 MB / 373.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.1648, allocations: 0.8854 MB / 374.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.1651, allocations: 126.1 kB / 374.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.1661, allocations: 0.6836 MB / 375.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.725e-06/0.1661, allocations: 0 / 375.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2071/0.3732, allocations: 7.35 MB / 382.5 MB, free: 50.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3733, allocations: 195 kB / 382.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.3754, allocations: 1.414 MB / 384.1 MB, free: 49.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/0.3754, allocations: 51.05 kB / 384.2 MB, free: 49.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.3762, allocations: 0.9313 MB / 385.1 MB, free: 48.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3765, allocations: 424.5 kB / 385.5 MB, free: 48.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.3768, allocations: 245.6 kB / 385.8 MB, free: 48.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3769, allocations: 364.9 kB / 386.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.378, allocations: 0.6317 MB / 386.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.3794, allocations: 1 MB / 387.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3817, allocations: 1.708 MB / 389.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3817, allocations: 2.531 kB / 389.5 MB, free: 46.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004136/0.3858, allocations: 2.338 MB / 391.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3859, allocations: 8.125 kB / 391.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3859, allocations: 10.41 kB / 391.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3871, allocations: 0.493 MB / 392.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/0.3881, allocations: 297.6 kB / 392.6 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.3946, allocations: 7.178 MB / 399.8 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.396, allocations: 97.61 kB / 399.9 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.3961, allocations: 57.89 kB / 399.9 MB, free: 39.57 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.001121/0.3972, allocations: 0.6323 MB / 400.6 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.3975, allocations: 161.6 kB / 400.7 MB, free: 39.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.4006, allocations: 2.134 MB / 402.8 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4006, allocations: 15.22 kB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4006, allocations: 4.844 kB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4007, allocations: 7.734 kB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.4066, allocations: 4.561 MB / 407.4 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4066, allocations: 4 kB / 407.4 MB, free: 35.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.4073, allocations: 187.7 kB / 407.6 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.4085, allocations: 0.5406 MB / 408.2 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.4086, allocations: 39.97 kB / 408.2 MB, free: 34.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.4143, allocations: 8.726 MB / 416.9 MB, free: 25.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4144, allocations: 4.547 kB / 416.9 MB, free: 25.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.4182, allocations: 3.084 MB / 420 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/0.4188, allocations: 374.9 kB / 420.4 MB, free: 21.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.419, allocations: 36 kB / 420.4 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/0.4198, allocations: 68.58 kB / 420.5 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.42, allocations: 100.8 kB / 420.6 MB, free: 21.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.4201, allocations: 35.98 kB / 420.6 MB, free: 21.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.4212, allocations: 0.9812 MB / 421.6 MB, free: 20.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4212, allocations: 0 / 421.6 MB, free: 20.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001528/0.4227, allocations: 450.8 kB / 422 MB, free: 20.08 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.004855/0.4276, allocations: 4.039 MB / 426.1 MB, free: 16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.4316, allocations: 2.677 MB / 428.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4316, allocations: 4 kB / 428.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.4334, allocations: 1.52 MB / 430.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.4353, allocations: 416.5 kB / 430.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/0.4589, allocations: 17.57 MB / 448.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.4604, allocations: 1.698 MB / 449.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001176/0.4616, allocations: 328.9 kB / 450.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.4626, allocations: 0.7453 MB / 451 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4626, allocations: 0 / 451 MB, free: 5.891 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09754/0.5602, allocations: 40.6 MB / 491.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.04, allocations: 8.125 kB / 491.6 MB, free: 13.16 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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