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.001267/0.001268, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001196/0.001196, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.468/1.468, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001654/0.001654, allocations: 47.94 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1007, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.274/0.3748, allocations: 9.421 MB / 384.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.386, allocations: 3.395 MB / 387.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.3889, allocations: 46.44 kB / 387.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.3925, allocations: 0.7291 MB / 388.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.3971, allocations: 0.8047 MB / 389.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.3994, allocations: 464.2 kB / 389.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005118/0.4045, allocations: 2.41 MB / 391.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003568/0.4081, allocations: 1.739 MB / 393.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.4107, allocations: 1.086 MB / 394.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.414, allocations: 1.392 MB / 396.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.4153, allocations: 283.5 kB / 396.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4178, allocations: 405.4 kB / 396.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.4194, allocations: 0.798 MB / 397.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.423, allocations: 1.284 MB / 398.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.4304, allocations: 3.732 MB / 402.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.4305, allocations: 1.469 kB / 402.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4305, allocations: 3.938 kB / 402.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.4306, allocations: 0 / 402.6 MB, free: 15.02 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.009367/0.44, allocations: 2.728 MB / 405.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4401, allocations: 9.469 kB / 405.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005528/0.4407, allocations: 277.2 kB / 405.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4417, allocations: 280.5 kB / 405.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.4445, allocations: 1.328 MB / 407.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.4447, allocations: 139.5 kB / 407.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.445, allocations: 187.6 kB / 407.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/0.4498, allocations: 2.44 MB / 410 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.4499, allocations: 14.17 kB / 410 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.4501, allocations: 76.28 kB / 410.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.4503, allocations: 95.42 kB / 410.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.454, allocations: 1.986 MB / 412.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.4671, allocations: 7.331 MB / 419.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.4692, allocations: 1.363 MB / 420.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4709, allocations: 0.8658 MB / 421.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.4711, allocations: 130 kB / 421.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.4723, allocations: 0.6875 MB / 422.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.196e-06/0.4723, allocations: 0 / 422.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01658/0.4889, allocations: 7.4 MB / 429.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.4891, allocations: 196.9 kB / 430.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.4913, allocations: 1.411 MB / 431.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.4914, allocations: 45.7 kB / 431.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00097/0.4924, allocations: 0.9661 MB / 432.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.4928, allocations: 436.3 kB / 433 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.4933, allocations: 247.5 kB / 433.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4934, allocations: 361.9 kB / 433.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4945, allocations: 0.6325 MB / 434.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4959, allocations: 0.9951 MB / 435.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.4984, allocations: 1.716 MB / 436.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4984, allocations: 4 kB / 436.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004177/0.5026, allocations: 2.348 MB / 439.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5027, allocations: 8 kB / 439.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5027, allocations: 8 kB / 439.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5039, allocations: 0.4884 MB / 439.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.505, allocations: 295.5 kB / 440.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/0.5127, allocations: 7.199 MB / 447.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5142, allocations: 91.84 kB / 447.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.5143, allocations: 52 kB / 447.4 MB, free: 5.688 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.001276/0.5156, allocations: 0.6372 MB / 448 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.516, allocations: 167 kB / 448.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.5201, allocations: 2.131 MB / 450.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5201, allocations: 15.98 kB / 450.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.5202, allocations: 8 kB / 450.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.5202, allocations: 11.91 kB / 450.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.5283, allocations: 4.532 MB / 454.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5284, allocations: 4 kB / 454.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.5292, allocations: 187.7 kB / 455.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.5306, allocations: 0.5431 MB / 455.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5307, allocations: 39.97 kB / 455.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009119/0.5399, allocations: 8.724 MB / 464.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5399, allocations: 7.938 kB / 464.4 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/0.5454, allocations: 3.1 MB / 467.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.5464, allocations: 379.9 kB / 467.9 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.5467, allocations: 28 kB / 467.9 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.5475, allocations: 79.92 kB / 468 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.5478, allocations: 92.75 kB / 468.1 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.5478, allocations: 39.98 kB / 468.1 MB, free: 104 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001621/0.5495, allocations: 0.9794 MB / 469.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5495, allocations: 0 / 469.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001735/0.5512, allocations: 451.9 kB / 469.5 MB, free: 14.68 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.007009/0.5582, allocations: 4.053 MB / 473.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004056/0.5623, allocations: 2.252 MB / 475.8 MB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.5624, allocations: 4 kB / 475.8 MB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.565, allocations: 1.515 MB / 477.3 MB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.5674, allocations: 424.3 kB / 477.8 MB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/0.5955, allocations: 16.23 MB / 494 MB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.5972, allocations: 1.698 MB / 495.7 MB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.5985, allocations: 321 kB / 496 MB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.5996, allocations: 0.7453 MB / 496.7 MB, free: 2.582 MB / 414.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5996, allocations: 4 kB / 496.8 MB, free: 2.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09919/0.6988, allocations: 41.38 MB / 0.5255 GB, free: 9.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.1, allocations: 8.188 kB / 0.5255 GB, free: 9.07 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 & 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