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.001276/0.001276, allocations: 113.2 kB / 17.73 MB, free: 5.324 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.001233/0.001233, allocations: 188.2 kB / 18.67 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.409/1.409, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001746/0.001746, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.09, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.184/0.274, allocations: 9.423 MB / 384.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.2811, allocations: 3.39 MB / 387.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.283, allocations: 42.09 kB / 387.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2858, allocations: 0.7347 MB / 388.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.2894, allocations: 0.8057 MB / 389.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.291, allocations: 455.5 kB / 389.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003846/0.2948, allocations: 2.414 MB / 391.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.2976, allocations: 1.744 MB / 393.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.2996, allocations: 1.089 MB / 394.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.3023, allocations: 1.384 MB / 396.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007202/0.303, allocations: 280.1 kB / 396.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.3044, allocations: 405.4 kB / 396.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008914/0.3053, allocations: 0.7997 MB / 397.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.3072, allocations: 1.276 MB / 398.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005336/0.3126, allocations: 3.744 MB / 402.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3126, allocations: 0.875 kB / 402.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.3126, allocations: 0 / 402.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.3128, allocations: 3.938 kB / 402.6 MB, free: 15.12 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.00785/0.3206, allocations: 2.724 MB / 405.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3207, allocations: 12.78 kB / 405.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005381/0.3212, allocations: 287 kB / 405.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009297/0.3222, allocations: 279.8 kB / 405.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.3251, allocations: 1.32 MB / 407.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3252, allocations: 140.1 kB / 407.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000423/0.3256, allocations: 190.6 kB / 407.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/0.3307, allocations: 2.437 MB / 410 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.3308, allocations: 10.02 kB / 410 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.331, allocations: 76.19 kB / 410.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.3311, allocations: 95.48 kB / 410.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.3349, allocations: 1.978 MB / 412.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.3492, allocations: 7.347 MB / 419.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3514, allocations: 1.359 MB / 420.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.3531, allocations: 0.8775 MB / 421.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.3534, allocations: 118.1 kB / 421.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.3546, allocations: 0.6797 MB / 422.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.956e-06/0.3546, allocations: 4 kB / 422.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01775/0.3724, allocations: 7.4 MB / 429.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.3726, allocations: 200.9 kB / 430.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.3749, allocations: 1.415 MB / 431.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.3751, allocations: 45.7 kB / 431.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/0.3761, allocations: 0.9583 MB / 432.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.3765, allocations: 448.3 kB / 433 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.3769, allocations: 239.5 kB / 433.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3771, allocations: 361.9 kB / 433.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.3782, allocations: 0.6325 MB / 434.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3796, allocations: 1.007 MB / 435.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.3821, allocations: 1.708 MB / 436.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3821, allocations: 4 kB / 436.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004302/0.3864, allocations: 2.344 MB / 439.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3865, allocations: 8 kB / 439.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.3865, allocations: 8 kB / 439.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3878, allocations: 0.4923 MB / 439.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.389, allocations: 295.5 kB / 440.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.3971, allocations: 7.183 MB / 447.2 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3986, allocations: 91.98 kB / 447.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.3988, allocations: 55.98 kB / 447.4 MB, free: 5.793 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.001293/0.4001, allocations: 0.6418 MB / 448 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.4005, allocations: 163 kB / 448.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4045, allocations: 2.131 MB / 450.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4045, allocations: 16 kB / 450.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.4045, allocations: 8 kB / 450.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.4046, allocations: 11.91 kB / 450.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008351/0.4129, allocations: 4.544 MB / 454.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.413, allocations: 4 kB / 454.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.4138, allocations: 195.7 kB / 455.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.4153, allocations: 0.5314 MB / 455.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.4154, allocations: 31.98 kB / 455.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00945/0.4249, allocations: 8.735 MB / 464.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.4249, allocations: 7.984 kB / 464.4 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/0.4306, allocations: 3.092 MB / 467.5 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.4318, allocations: 379.9 kB / 467.9 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.432, allocations: 35.98 kB / 467.9 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.4329, allocations: 71.94 kB / 468 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.4331, allocations: 96.73 kB / 468.1 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.4332, allocations: 39.98 kB / 468.1 MB, free: 200 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001714/0.435, allocations: 0.9792 MB / 469.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.435, allocations: 0 / 469.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001955/0.4369, allocations: 455.9 kB / 469.5 MB, free: 14.77 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.007092/0.444, allocations: 4.038 MB / 473.6 MB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4481, allocations: 2.256 MB / 475.8 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4482, allocations: 0 / 475.8 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.4507, allocations: 1.522 MB / 477.3 MB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4531, allocations: 432.2 kB / 477.8 MB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/0.4802, allocations: 16.22 MB / 494 MB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.4822, allocations: 1.694 MB / 495.7 MB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.4834, allocations: 329 kB / 496 MB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.4846, allocations: 0.7492 MB / 496.8 MB, free: 2.676 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4846, allocations: 0 / 496.8 MB, free: 2.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09586/0.5805, allocations: 41.38 MB / 0.5255 GB, free: 9.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.04, allocations: 12.19 kB / 0.5255 GB, free: 9.164 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 & /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