Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 121.4 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 189.2 kB / 21.39 MB, free: 1.52 MB / 14.72 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 1.435/1.435, allocations: 207.6 MB / 231.8 MB, free: 4.234 MB / 174.1 MB " [Timeout remaining time 178] 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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001811/0.001811, allocations: 59.89 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01161/0.1138, allocations: 8.823 MB / 400.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.12, allocations: 2.894 MB / 403.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.1214, allocations: 39.81 kB / 403.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.1236, allocations: 0.6446 MB / 403.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.1262, allocations: 0.7378 MB / 404.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.127, allocations: 327.6 kB / 404.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003544/0.1306, allocations: 2.241 MB / 407.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.1325, allocations: 1.246 MB / 408.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.1343, allocations: 1.02 MB / 409.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.1363, allocations: 1.308 MB / 410.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.1368, allocations: 268 kB / 410.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.1376, allocations: 363.8 kB / 411.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.1384, allocations: 0.7674 MB / 412 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.1397, allocations: 1.209 MB / 413.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.1438, allocations: 3.538 MB / 416.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1438, allocations: 0 / 416.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1438, allocations: 0 / 416.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.357e-05/0.1439, allocations: 0 / 416.8 MB, free: 15.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005783/0.1496, allocations: 2.541 MB / 419.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1497, allocations: 8.031 kB / 419.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000371/0.1501, allocations: 266 kB / 419.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.1507, allocations: 263.4 kB / 419.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.1533, allocations: 1.236 MB / 421.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.1534, allocations: 139.9 kB / 421.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.1537, allocations: 183.9 kB / 421.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/0.1579, allocations: 2.374 MB / 423.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.158, allocations: 0 / 423.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.1581, allocations: 75.98 kB / 423.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1582, allocations: 91.5 kB / 424 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.1618, allocations: 1.966 MB / 425.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.1746, allocations: 7.072 MB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1766, allocations: 1.226 MB / 434.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.1782, allocations: 0.8073 MB / 435 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.1784, allocations: 126 kB / 435.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.1785, allocations: 43.56 kB / 435.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.035e-06/0.1785, allocations: 0 / 435.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01344/0.1919, allocations: 5.924 MB / 441.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.192, allocations: 64.41 kB / 441.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.1939, allocations: 1.215 MB / 442.4 MB, free: 5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.1941, allocations: 41.7 kB / 442.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.1948, allocations: 0.887 MB / 443.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.1951, allocations: 388.7 kB / 443.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.1955, allocations: 226.8 kB / 443.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1956, allocations: 349.9 kB / 444.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.1967, allocations: 0.6155 MB / 444.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.198, allocations: 0.9272 MB / 445.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.2005, allocations: 1.644 MB / 447.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2005, allocations: 4 kB / 447.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004069/0.2046, allocations: 2.22 MB / 449.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.2046, allocations: 11.98 kB / 449.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.2046, allocations: 12 kB / 449.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.2057, allocations: 480.2 kB / 450.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.2067, allocations: 267.5 kB / 450.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/0.2142, allocations: 7.026 MB / 457.5 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.2154, allocations: 79.91 kB / 457.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.2155, allocations: 48.06 kB / 457.6 MB, free: 5.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.2167, allocations: 0.5988 MB / 458.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.217, allocations: 143 kB / 458.3 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.2206, allocations: 2.008 MB / 460.3 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2206, allocations: 12 kB / 460.3 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2207, allocations: 7.984 kB / 460.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2207, allocations: 3.984 kB / 460.3 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2048/0.4255, allocations: 4.204 MB / 464.6 MB, free: 62.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4255, allocations: 4.625 kB / 464.6 MB, free: 62.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.4263, allocations: 185 kB / 464.7 MB, free: 62.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4276, allocations: 0.5139 MB / 465.2 MB, free: 62.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.4277, allocations: 35.75 kB / 465.3 MB, free: 62.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.4342, allocations: 8.618 MB / 473.9 MB, free: 56.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.4342, allocations: 7.625 kB / 473.9 MB, free: 56.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.4388, allocations: 2.947 MB / 476.9 MB, free: 54.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.4396, allocations: 350.1 kB / 477.2 MB, free: 54.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.4398, allocations: 30.81 kB / 477.2 MB, free: 54.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.4405, allocations: 74.64 kB / 477.3 MB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.4408, allocations: 94.92 kB / 477.4 MB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.4408, allocations: 35.44 kB / 477.4 MB, free: 54.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.442, allocations: 0.838 MB / 478.3 MB, free: 54.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.442, allocations: 0 / 478.3 MB, free: 54.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001432/0.4434, allocations: 407.7 kB / 478.7 MB, free: 54.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,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.003864/0.4473, allocations: 3.576 MB / 482.2 MB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.45, allocations: 2.091 MB / 484.3 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.45, allocations: 1.375 kB / 484.3 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.4518, allocations: 1.43 MB / 485.8 MB, free: 50.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4534, allocations: 389.2 kB / 486.1 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.47, allocations: 15.15 MB / 0.4895 GB, free: 37.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.4711, allocations: 1.638 MB / 0.4911 GB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007811/0.4719, allocations: 300.2 kB / 0.4914 GB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.4725, allocations: 0.6867 MB / 0.4921 GB, free: 34.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4725, allocations: 0 / 0.4921 GB, free: 34.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07505/0.5476, allocations: 37.61 MB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.32, allocations: 9 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.77239105803892]