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.00182/0.00182, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001416/0.001416, allocations: 190 kB / 18.07 MB, free: 5.414 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.369/1.369, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001169/0.001169, allocations: 43.94 kB / 280.1 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 46.63 MB / 326.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01114/0.1132, allocations: 9.354 MB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006808/0.1201, allocations: 3.359 MB / 339.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.122, allocations: 39.81 kB / 339.5 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.1243, allocations: 0.6491 MB / 340.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1271, allocations: 0.7267 MB / 340.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1284, allocations: 411.5 kB / 341.2 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.1318, allocations: 2.752 MB / 344 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.1336, allocations: 1.426 MB / 345.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.1352, allocations: 0.9611 MB / 346.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.137, allocations: 1.335 MB / 347.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.1373, allocations: 176 kB / 347.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.1381, allocations: 315.7 kB / 348.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006636/0.1388, allocations: 0.6932 MB / 348.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.14, allocations: 1.174 MB / 350.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.1433, allocations: 3.606 MB / 353.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1433, allocations: 3.938 kB / 353.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1434, allocations: 0 / 353.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.1434, allocations: 0 / 353.7 MB, free: 9.652 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.005025/0.1484, allocations: 2.655 MB / 356.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1485, allocations: 8.031 kB / 356.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003572/0.1489, allocations: 282.6 kB / 356.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.1495, allocations: 266 kB / 356.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.1515, allocations: 1.299 MB / 358.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.1516, allocations: 147.7 kB / 358.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.1519, allocations: 187.9 kB / 358.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/0.1558, allocations: 2.44 MB / 360.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/0.1559, allocations: 3.906 kB / 360.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.1561, allocations: 83.98 kB / 361 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.1562, allocations: 91.67 kB / 361.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.1596, allocations: 1.982 MB / 363.1 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.172, allocations: 7.409 MB / 370.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.1741, allocations: 1.351 MB / 371.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.1758, allocations: 0.8815 MB / 372.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.1761, allocations: 122.1 kB / 372.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.1772, allocations: 0.6874 MB / 373.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.735e-06/0.1772, allocations: 0 / 373.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.1755/0.3527, allocations: 7.347 MB / 380.9 MB, free: 51.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.3528, allocations: 197 kB / 381.1 MB, free: 50.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.3552, allocations: 1.412 MB / 382.5 MB, free: 50.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.3553, allocations: 48.09 kB / 382.5 MB, free: 50.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/0.3561, allocations: 0.9357 MB / 383.5 MB, free: 49.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.3564, allocations: 419.7 kB / 383.9 MB, free: 49.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.3568, allocations: 246.7 kB / 384.1 MB, free: 49.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3569, allocations: 367.6 kB / 384.5 MB, free: 48.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.358, allocations: 0.6338 MB / 385.1 MB, free: 48.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3592, allocations: 1.002 MB / 386.1 MB, free: 48.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.3616, allocations: 1.709 MB / 387.8 MB, free: 47.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.3616, allocations: 3.375 kB / 387.8 MB, free: 47.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004364/0.366, allocations: 2.334 MB / 390.2 MB, free: 46.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.3661, allocations: 13.7 kB / 390.2 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.3661, allocations: 9.406 kB / 390.2 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.3674, allocations: 499.7 kB / 390.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.3686, allocations: 297.4 kB / 391 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.3743, allocations: 6.576 MB / 397.5 MB, free: 40.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.3758, allocations: 96.36 kB / 397.6 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.376, allocations: 56.47 kB / 397.7 MB, free: 40.86 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.00121/0.3772, allocations: 0.6354 MB / 398.3 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.3775, allocations: 156.6 kB / 398.5 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.3806, allocations: 2.136 MB / 400.6 MB, free: 39.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3806, allocations: 11.78 kB / 400.6 MB, free: 39.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3806, allocations: 7.875 kB / 400.6 MB, free: 39.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3806, allocations: 7.312 kB / 400.6 MB, free: 39.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/0.3865, allocations: 4.561 MB / 405.2 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3866, allocations: 3.938 kB / 405.2 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.3873, allocations: 197.8 kB / 405.4 MB, free: 36.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.3885, allocations: 0.5331 MB / 405.9 MB, free: 36.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.3886, allocations: 35.77 kB / 406 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/0.394, allocations: 8.012 MB / 414 MB, free: 28.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3941, allocations: 7.938 kB / 414 MB, free: 28.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.3981, allocations: 3.088 MB / 417.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007713/0.3989, allocations: 371.6 kB / 417.4 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.3992, allocations: 35.98 kB / 417.5 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007346/0.3999, allocations: 63.94 kB / 417.5 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.4001, allocations: 104.7 kB / 417.6 MB, free: 24.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.4002, allocations: 39.98 kB / 417.7 MB, free: 24.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.4013, allocations: 0.9753 MB / 418.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4013, allocations: 0 / 418.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001608/0.4029, allocations: 454.5 kB / 419.1 MB, free: 22.89 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.004957/0.4079, allocations: 4.024 MB / 423.1 MB, free: 18.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.4111, allocations: 2.241 MB / 425.4 MB, free: 16.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4111, allocations: 256 / 425.4 MB, free: 16.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4129, allocations: 1.535 MB / 426.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4153, allocations: 404.5 kB / 427.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/0.4467, allocations: 18.34 MB / 445.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.4488, allocations: 1.698 MB / 447.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.4501, allocations: 319.2 kB / 447.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.4514, allocations: 0.7492 MB / 448.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of SimCode: time 1.833e-06/0.4514, allocations: 0 / 448.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.5227, allocations: 39.56 MB / 487.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.523, allocations: 297.8 kB / 488.2 MB, free: 356 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.19, allocations: 4.062 kB / 488.2 MB, free: 352 kB / 366.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","../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