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.001115/0.001115, 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.001105/0.001106, 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.361/1.361, 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.001422/0.001422, allocations: 51.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09434, 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.2045/0.2989, allocations: 9.426 MB / 384.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.3058, allocations: 3.394 MB / 387.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.3076, allocations: 43.03 kB / 387.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.3099, allocations: 0.7621 MB / 388.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.3129, allocations: 0.8378 MB / 389.1 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3141, allocations: 463.9 kB / 389.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002958/0.3171, allocations: 2.416 MB / 392 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.3191, allocations: 1.73 MB / 393.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.3211, allocations: 1.101 MB / 394.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.323, allocations: 1.391 MB / 396.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.3234, allocations: 280.9 kB / 396.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.3243, allocations: 406.5 kB / 396.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007583/0.3251, allocations: 0.7961 MB / 397.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.3264, allocations: 1.282 MB / 399 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.3309, allocations: 3.735 MB / 402.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.331, allocations: 3.938 kB / 402.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.331, allocations: 3.984 kB / 402.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.004e-05/0.331, allocations: 0 / 402.7 MB, free: 15.09 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.005926/0.337, allocations: 2.728 MB / 405.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.337, allocations: 8.75 kB / 405.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003935/0.3374, allocations: 270.8 kB / 405.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.3383, allocations: 287.6 kB / 406 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.3408, allocations: 1.325 MB / 407.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3409, allocations: 147.2 kB / 407.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.3413, allocations: 187.4 kB / 407.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.3454, allocations: 2.439 MB / 410.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/0.3455, allocations: 10.31 kB / 410.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3457, allocations: 76.62 kB / 410.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.3458, allocations: 95.83 kB / 410.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.3492, allocations: 1.985 MB / 412.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.3612, allocations: 7.335 MB / 419.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.363, allocations: 1.363 MB / 420.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.3645, allocations: 0.8697 MB / 421.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.3648, allocations: 126 kB / 421.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.3659, allocations: 0.6875 MB / 422.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.116e-06/0.3659, allocations: 0 / 422.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01622/0.3821, allocations: 7.4 MB / 430 MB, free: 8.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3823, allocations: 196.9 kB / 430.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.3851, allocations: 1.415 MB / 431.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.3852, allocations: 45.7 kB / 431.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009223/0.3862, allocations: 0.9583 MB / 432.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.3865, allocations: 444.3 kB / 433.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.387, allocations: 247.5 kB / 433.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3871, allocations: 357.9 kB / 433.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/0.3881, allocations: 0.6325 MB / 434.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.3894, allocations: 0.9951 MB / 435.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.3917, allocations: 1.72 MB / 437 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3917, allocations: 0 / 437 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003926/0.3956, allocations: 2.348 MB / 439.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3957, allocations: 8 kB / 439.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.3957, allocations: 12 kB / 439.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3969, allocations: 496.1 kB / 439.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.398, allocations: 295.6 kB / 440.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.4051, allocations: 7.192 MB / 447.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4067, allocations: 91.84 kB / 447.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.4069, allocations: 56 kB / 447.5 MB, free: 5.723 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.001477/0.4084, allocations: 0.6411 MB / 448.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.4089, allocations: 159 kB / 448.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.4128, allocations: 2.135 MB / 450.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.4128, allocations: 16 kB / 450.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/0.4128, allocations: 4 kB / 450.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4128, allocations: 7.969 kB / 450.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/0.4217, allocations: 4.544 MB / 455 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.4217, allocations: 7.938 kB / 455 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.4226, allocations: 183.8 kB / 455.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.4242, allocations: 0.5431 MB / 455.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4243, allocations: 39.97 kB / 455.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008298/0.4326, allocations: 8.731 MB / 464.5 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.4326, allocations: 7.938 kB / 464.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.4376, allocations: 3.092 MB / 467.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4388, allocations: 379.9 kB / 468 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005967/0.4394, allocations: 32 kB / 468 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.4407, allocations: 75.92 kB / 468.1 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.4409, allocations: 96.75 kB / 468.2 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.441, allocations: 35.98 kB / 468.2 MB, free: 136 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002061/0.4431, allocations: 0.9792 MB / 469.2 MB, free: 15.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4431, allocations: 0 / 469.2 MB, free: 15.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002433/0.4456, allocations: 455.9 kB / 469.6 MB, free: 14.71 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.006416/0.452, allocations: 4.046 MB / 473.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.4558, allocations: 2.252 MB / 475.9 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.4558, allocations: 4 kB / 475.9 MB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.4583, allocations: 1.519 MB / 477.4 MB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.4616, allocations: 424.3 kB / 477.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/0.4968, allocations: 16.22 MB / 494.1 MB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.4994, allocations: 1.698 MB / 495.8 MB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.5008, allocations: 325 kB / 496.1 MB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.5021, allocations: 0.7491 MB / 496.8 MB, free: 2.613 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5021, allocations: 0 / 496.8 MB, free: 2.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09311/0.5953, allocations: 41.38 MB / 0.5256 GB, free: 9.113 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13, allocations: 8.188 kB / 0.5256 GB, free: 9.105 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