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.0008969/0.000897, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0009419/0.0009417, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.759/1.759, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0006805/0.0006804, allocations: 12 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1142, allocations: 47.58 MB / 329.1 MB, free: 3.648 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01/0.1243, allocations: 8.848 MB / 337.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.131, allocations: 3.305 MB / 341.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1326, allocations: 39.81 kB / 341.3 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.1347, allocations: 0.649 MB / 341.9 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.1377, allocations: 0.7345 MB / 342.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1391, allocations: 395.5 kB / 343 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003399/0.1425, allocations: 2.748 MB / 345.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.1446, allocations: 1.41 MB / 347.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1462, allocations: 0.8479 MB / 348 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.1482, allocations: 1.21 MB / 349.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.1485, allocations: 124 kB / 349.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.1493, allocations: 259.8 kB / 349.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.1499, allocations: 0.6229 MB / 350.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.151, allocations: 1.101 MB / 351.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.1539, allocations: 3.495 MB / 354.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1539, allocations: 4 kB / 354.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.154, allocations: 4 kB / 354.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.544e-05/0.154, allocations: 0 / 354.8 MB, free: 9.711 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.004204/0.1582, allocations: 2.262 MB / 357.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1583, allocations: 8.031 kB / 357.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003575/0.1587, allocations: 278.6 kB / 357.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.1593, allocations: 273.9 kB / 357.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.1612, allocations: 1.299 MB / 359 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1613, allocations: 139.7 kB / 359.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/0.1617, allocations: 196 kB / 359.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.1662, allocations: 2.436 MB / 361.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.1663, allocations: 7.906 kB / 361.7 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.1665, allocations: 76 kB / 361.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.1666, allocations: 99.61 kB / 361.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.17, allocations: 1.982 MB / 363.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.1808, allocations: 7.444 MB / 371.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1827, allocations: 1.355 MB / 372.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.1842, allocations: 0.8932 MB / 373.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.1845, allocations: 118.1 kB / 373.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.1855, allocations: 0.6836 MB / 374.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.334e-06/0.1855, allocations: 0 / 374.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2513/0.4368, allocations: 7.422 MB / 381.8 MB, free: 39.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.437, allocations: 197.6 kB / 382 MB, free: 38.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.4398, allocations: 1.422 MB / 383.4 MB, free: 38.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.44, allocations: 47.58 kB / 383.5 MB, free: 38.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/0.441, allocations: 0.9321 MB / 384.4 MB, free: 38.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.4414, allocations: 431.4 kB / 384.8 MB, free: 37.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4416, allocations: 110.3 kB / 384.9 MB, free: 37.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4418, allocations: 362.3 kB / 385.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4431, allocations: 0.6391 MB / 385.9 MB, free: 37.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.4446, allocations: 1.002 MB / 386.9 MB, free: 37.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.4473, allocations: 1.713 MB / 388.6 MB, free: 36.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.4473, allocations: 3.062 kB / 388.6 MB, free: 36.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004879/0.4522, allocations: 2.338 MB / 391 MB, free: 36.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.4523, allocations: 12.5 kB / 391 MB, free: 36.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.4523, allocations: 10.59 kB / 391 MB, free: 36.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.4538, allocations: 498.7 kB / 391.5 MB, free: 36.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.455, allocations: 295.7 kB / 391.8 MB, free: 36.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/0.4618, allocations: 6.595 MB / 398.4 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.4638, allocations: 90.08 kB / 398.4 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.464, allocations: 57.42 kB / 398.5 MB, free: 31.19 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.001731/0.4657, allocations: 0.6351 MB / 399.1 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.4661, allocations: 152.4 kB / 399.3 MB, free: 30.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.4697, allocations: 2.142 MB / 401.4 MB, free: 29.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4697, allocations: 12.69 kB / 401.4 MB, free: 29.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4697, allocations: 3.219 kB / 401.4 MB, free: 29.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4697, allocations: 11.02 kB / 401.5 MB, free: 29.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.4766, allocations: 4.564 MB / 406 MB, free: 27.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4767, allocations: 3.875 kB / 406 MB, free: 27.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.4774, allocations: 192.6 kB / 406.2 MB, free: 27.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.4786, allocations: 0.541 MB / 406.7 MB, free: 27.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.4787, allocations: 34.84 kB / 406.8 MB, free: 27.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/0.4844, allocations: 8.019 MB / 414.8 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4845, allocations: 5.031 kB / 414.8 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.4885, allocations: 3.091 MB / 417.9 MB, free: 16.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.4892, allocations: 375 kB / 418.3 MB, free: 16.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.4894, allocations: 35.98 kB / 418.3 MB, free: 16.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007348/0.4902, allocations: 71.92 kB / 418.4 MB, free: 16.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.4904, allocations: 100.4 kB / 418.5 MB, free: 16.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.4905, allocations: 39.98 kB / 418.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.4917, allocations: 0.9831 MB / 419.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4917, allocations: 0 / 419.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4934, allocations: 446.5 kB / 419.9 MB, free: 14.92 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.005008/0.4984, allocations: 4.035 MB / 424 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.5015, allocations: 2.254 MB / 426.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5016, allocations: 0 / 426.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.5034, allocations: 1.533 MB / 427.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.506, allocations: 400.5 kB / 428.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/0.534, allocations: 18.51 MB / 446.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.5357, allocations: 1.698 MB / 448.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.537, allocations: 321 kB / 448.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/0.5381, allocations: 0.7492 MB / 449.4 MB, free: 412 kB / 334.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5382, allocations: 8 kB / 449.4 MB, free: 404 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/0.6091, allocations: 38.87 MB / 488.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.6094, allocations: 301.1 kB / 488.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/3.45, allocations: 0 / 488.6 MB, free: 9.129 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","../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