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.001057/0.001057, allocations: 106.5 kB / 17.58 MB, free: 5.531 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.001243/0.001243, allocations: 191.9 kB / 18.51 MB, free: 4.609 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.536/1.536, allocations: 205.1 MB / 224.4 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.001518/0.001518, allocations: 51.94 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1257, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0144/0.1401, allocations: 9.431 MB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.1467, allocations: 3.378 MB / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1478, allocations: 39.81 kB / 340.2 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1497, allocations: 0.7339 MB / 341 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.1517, allocations: 0.8116 MB / 341.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.1526, allocations: 455.2 kB / 342.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.1549, allocations: 2.401 MB / 344.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.1566, allocations: 1.743 MB / 346.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1579, allocations: 1.082 MB / 347.4 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.1595, allocations: 1.39 MB / 348.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.1598, allocations: 280 kB / 349.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.1605, allocations: 411.7 kB / 349.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006756/0.1612, allocations: 0.8026 MB / 350.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.1624, allocations: 1.279 MB / 351.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.1653, allocations: 3.696 MB / 355.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1653, allocations: 0 / 355.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1653, allocations: 0 / 355.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.489e-05/0.1654, allocations: 0 / 355.3 MB, free: 8.324 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.004612/0.17, allocations: 2.659 MB / 358 MB, free: 5.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.17, allocations: 12.03 kB / 358 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003035/0.1703, allocations: 274.6 kB / 358.2 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.171, allocations: 270 kB / 358.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.1729, allocations: 1.299 MB / 359.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.173, allocations: 139.7 kB / 359.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.1733, allocations: 195.9 kB / 360.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.1771, allocations: 2.436 MB / 362.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.1772, allocations: 7.906 kB / 362.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.1774, allocations: 75.98 kB / 362.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1775, allocations: 99.67 kB / 362.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.181, allocations: 1.982 MB / 364.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.1938, allocations: 7.393 MB / 372.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.196, allocations: 1.358 MB / 373.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.1976, allocations: 0.8816 MB / 374.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.1979, allocations: 126 kB / 374.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.1991, allocations: 0.6836 MB / 375.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.486e-06/0.1991, allocations: 3.938 kB / 375.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2643/0.4634, allocations: 7.348 MB / 382.5 MB, free: 50.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.4635, allocations: 204.3 kB / 382.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.4663, allocations: 1.411 MB / 384.1 MB, free: 49.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.685e-05/0.4664, allocations: 47.14 kB / 384.2 MB, free: 49.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009819/0.4674, allocations: 0.9316 MB / 385.1 MB, free: 49.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.4678, allocations: 420.8 kB / 385.5 MB, free: 48.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/0.4683, allocations: 245.7 kB / 385.7 MB, free: 48.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4685, allocations: 364.7 kB / 386.1 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.4697, allocations: 0.6347 MB / 386.7 MB, free: 48.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4711, allocations: 1.005 MB / 387.7 MB, free: 47.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.4737, allocations: 1.708 MB / 389.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.4737, allocations: 3.25 kB / 389.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004395/0.4781, allocations: 2.33 MB / 391.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4781, allocations: 7.906 kB / 391.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.4782, allocations: 12.33 kB / 391.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.4794, allocations: 0.4898 MB / 392.3 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4804, allocations: 301.1 kB / 392.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.4871, allocations: 7.181 MB / 399.8 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.4889, allocations: 98.11 kB / 399.9 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.489, allocations: 54.92 kB / 399.9 MB, free: 39.67 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.001268/0.4903, allocations: 0.6287 MB / 400.5 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.4907, allocations: 164.9 kB / 400.7 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.4941, allocations: 2.132 MB / 402.8 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.4941, allocations: 16.34 kB / 402.9 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4941, allocations: 7.469 kB / 402.9 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.4942, allocations: 12.25 kB / 402.9 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.5003, allocations: 4.553 MB / 407.4 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5004, allocations: 7.938 kB / 407.4 MB, free: 35.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.501, allocations: 191.8 kB / 407.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.5023, allocations: 0.5398 MB / 408.2 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.5024, allocations: 31.98 kB / 408.2 MB, free: 34.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007327/0.5097, allocations: 8.729 MB / 416.9 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5097, allocations: 7.938 kB / 416.9 MB, free: 25.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.514, allocations: 3.078 MB / 420 MB, free: 22.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009361/0.5149, allocations: 374.9 kB / 420.4 MB, free: 21.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/0.5154, allocations: 35.98 kB / 420.4 MB, free: 21.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5165, allocations: 71.55 kB / 420.5 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.5168, allocations: 100.7 kB / 420.6 MB, free: 21.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.5168, allocations: 39.98 kB / 420.6 MB, free: 21.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.5186, allocations: 0.9792 MB / 421.6 MB, free: 20.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5186, allocations: 0 / 421.6 MB, free: 20.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002566/0.5212, allocations: 454.6 kB / 422 MB, free: 20.1 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.005601/0.5268, allocations: 4.035 MB / 426.1 MB, free: 16.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004679/0.5315, allocations: 2.675 MB / 428.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5315, allocations: 0 / 428.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.5336, allocations: 1.521 MB / 430.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5359, allocations: 428.5 kB / 430.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/0.5723, allocations: 17.56 MB / 448.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/0.575, allocations: 1.698 MB / 450 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002145/0.5772, allocations: 321 kB / 450.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/0.5791, allocations: 0.7492 MB / 451 MB, free: 5.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5791, allocations: 0 / 451 MB, free: 5.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.6953, allocations: 40.59 MB / 491.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.4, allocations: 12.19 kB / 491.6 MB, free: 13.18 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","/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