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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00377/0.00377, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8695/0.8695, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.33e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1232/0.1232, allocations: 8.361 MB / 306.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.1282, allocations: 3.214 MB / 310 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1295, allocations: 53.31 kB / 310.1 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.1313, allocations: 0.7271 MB / 310.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1339, allocations: 0.8805 MB / 311.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1351, allocations: 463.3 kB / 312.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.138, allocations: 2.502 MB / 314.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1392, allocations: 0.9891 MB / 315.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.1419, allocations: 1.619 MB / 317.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.144, allocations: 1.205 MB / 318.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007126/0.1447, allocations: 284.1 kB / 318.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1459, allocations: 399.8 kB / 319.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.1465, allocations: 0.8403 MB / 320 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.1481, allocations: 0.8721 MB / 320.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.1518, allocations: 3.779 MB / 324.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1518, allocations: 7.938 kB / 324.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1518, allocations: 1.375 kB / 324.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001103/0.1519, allocations: 0 / 324.6 MB, free: 1.648 MB / 282.7 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.005216/0.1571, allocations: 2.629 MB / 327.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1571, allocations: 14.14 kB / 327.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/0.1575, allocations: 277.5 kB / 327.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.1582, allocations: 279.9 kB / 327.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.1602, allocations: 1.234 MB / 329.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1603, allocations: 152.9 kB / 329.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.1605, allocations: 188 kB / 329.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.1637, allocations: 2.534 MB / 331.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.1638, allocations: 13.73 kB / 331.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.1639, allocations: 77.89 kB / 332 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-05/0.164, allocations: 98.05 kB / 332.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.1665, allocations: 1.981 MB / 334.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009/0.1755, allocations: 6.61 MB / 340.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.1769, allocations: 1.069 MB / 341.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009997/0.1779, allocations: 0.8187 MB / 342.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.1781, allocations: 44.97 kB / 342.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.179, allocations: 0.7918 MB / 343.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.236e-06/0.179, allocations: 0 / 343.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01016/0.1892, allocations: 7.035 MB / 350.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1893, allocations: 196.9 kB / 350.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.1909, allocations: 1.434 MB / 352.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.1911, allocations: 53.7 kB / 352.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/0.1917, allocations: 0.9428 MB / 353.1 MB, free: 7.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.1921, allocations: 440.2 kB / 353.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.1925, allocations: 243.5 kB / 353.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1926, allocations: 361.9 kB / 354.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007337/0.1933, allocations: 0.6364 MB / 354.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.1944, allocations: 1.104 MB / 355.8 MB, free: 4.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.196, allocations: 1.712 MB / 357.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.196, allocations: 4 kB / 357.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003093/0.1991, allocations: 2.266 MB / 359.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.1992, allocations: 8 kB / 359.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.1992, allocations: 12 kB / 359.8 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007502/0.1999, allocations: 0.4923 MB / 360.3 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.2006, allocations: 295.4 kB / 360.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.2059, allocations: 6.825 MB / 367.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.2071, allocations: 99.92 kB / 367.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.2072, allocations: 52 kB / 367.6 MB, free: 8.414 MB / 330.7 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.001211/0.2084, allocations: 0.6307 MB / 368.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.2088, allocations: 159 kB / 368.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.2113, allocations: 2.075 MB / 370.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.2113, allocations: 12 kB / 370.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.2113, allocations: 4 kB / 370.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2113, allocations: 7.984 kB / 370.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.2171, allocations: 4.195 MB / 374.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2171, allocations: 0 / 374.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2175, allocations: 187.8 kB / 374.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.2186, allocations: 0.5434 MB / 375.4 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/0.2187, allocations: 35.97 kB / 375.4 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/0.2244, allocations: 8.254 MB / 383.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-06/0.2244, allocations: 7.938 kB / 383.7 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.228, allocations: 3.017 MB / 386.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/0.2288, allocations: 306.8 kB / 387 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.229, allocations: 32 kB / 387 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.2294, allocations: 67.92 kB / 387.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.2296, allocations: 108.8 kB / 387.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.2297, allocations: 39.98 kB / 387.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.2308, allocations: 0.9792 MB / 388.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2308, allocations: 3.938 kB / 388.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001371/0.2321, allocations: 459.9 kB / 388.7 MB, free: 2.609 MB / 346.7 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 (106): * Single equations (assignments): 99 * 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.004397/0.2365, allocations: 3.98 MB / 392.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.2392, allocations: 2.03 MB / 394.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2392, allocations: 0 / 394.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.2407, allocations: 1.396 MB / 396.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.2425, allocations: 428.3 kB / 396.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/0.264, allocations: 15.98 MB / 412.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009754/0.265, allocations: 1.13 MB / 413.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007975/0.2658, allocations: 325 kB / 413.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000743/0.2665, allocations: 0.7503 MB / 414.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2665, allocations: 0 / 414.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05775/0.3243, allocations: 44.5 MB / 459.2 MB, free: 11.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.696, allocations: 19.89 kB / 459.2 MB, free: 11.08 MB / 426.7 MB " [Timeout remaining time 651] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 649] Reference file matches [Calling sys.exit(0), Time elapsed: 28.269080912694335]