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.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.0009215/0.0009215, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008963/0.0008963, allocations: 156.4 kB / 25.44 MB, free: 8.855 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.8041/0.8041, allocations: 158.6 MB / 187.2 MB, free: 3.035 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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.282e-05, allocations: 6.219 kB / 299.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.1405/0.1405, allocations: 7.799 MB / 307.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004968/0.1455, allocations: 2.723 MB / 310.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.1464, allocations: 50.97 kB / 310.3 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1478, allocations: 0.602 MB / 310.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.1496, allocations: 0.7612 MB / 311.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.1503, allocations: 337.5 kB / 312 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.1526, allocations: 2.32 MB / 314.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1538, allocations: 0.9653 MB / 315.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1558, allocations: 1.507 MB / 316.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.1578, allocations: 1.11 MB / 317.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006457/0.1584, allocations: 269.4 kB / 318.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.1591, allocations: 358.9 kB / 318.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.1597, allocations: 0.7896 MB / 319.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.1607, allocations: 0.833 MB / 320.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.1633, allocations: 3.575 MB / 323.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1633, allocations: 1.125 kB / 323.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1633, allocations: 0 / 323.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.1633, allocations: 0 / 323.7 MB, free: 3.09 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003146/0.1665, allocations: 2.452 MB / 326.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1665, allocations: 12.67 kB / 326.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.167, allocations: 259.6 kB / 326.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.1683, allocations: 1.157 MB / 327.6 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.1684, allocations: 132.2 kB / 327.7 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.1686, allocations: 186.1 kB / 327.9 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.1713, allocations: 2.471 MB / 330.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.1714, allocations: 12.12 kB / 330.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1715, allocations: 71.22 kB / 330.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/0.1716, allocations: 99.25 kB / 330.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.1738, allocations: 1.958 MB / 332.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006164/0.18, allocations: 6.109 MB / 338.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1811, allocations: 0.9853 MB / 339.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009207/0.1821, allocations: 0.8108 MB / 340.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.1822, allocations: 41.53 kB / 340.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1822, allocations: 47.5 kB / 340.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.745e-06/0.1822, allocations: 0 / 340.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.007175/0.1894, allocations: 5.533 MB / 346 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1894, allocations: 68.34 kB / 346.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1905, allocations: 1.067 MB / 347.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.1905, allocations: 45.7 kB / 347.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.191, allocations: 0.8941 MB / 348.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.1912, allocations: 384.8 kB / 348.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.1914, allocations: 210.9 kB / 348.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1915, allocations: 361.9 kB / 349 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.1923, allocations: 0.6116 MB / 349.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.193, allocations: 0.9194 MB / 350.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1945, allocations: 1.647 MB / 352.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1945, allocations: 8.812 kB / 352.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0024/0.1969, allocations: 2.129 MB / 354.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1969, allocations: 12 kB / 354.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1969, allocations: 8 kB / 354.4 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.1976, allocations: 484.1 kB / 354.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.1981, allocations: 267.6 kB / 355.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.2025, allocations: 6.594 MB / 361.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.203, allocations: 79.92 kB / 361.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.2031, allocations: 47.98 kB / 361.8 MB, free: 15.38 MB / 330.7 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.0007679/0.2039, allocations: 0.6067 MB / 362.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.204, allocations: 127.2 kB / 362.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.206, allocations: 1.916 MB / 364.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.206, allocations: 8 kB / 364.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.206, allocations: 4 kB / 364.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.206, allocations: 11.98 kB / 364.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.2101, allocations: 3.663 MB / 368.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2101, allocations: 4 kB / 368.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.2105, allocations: 179.8 kB / 368.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/0.2112, allocations: 0.5234 MB / 368.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.2113, allocations: 31.98 kB / 368.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/0.2162, allocations: 8.053 MB / 376.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2162, allocations: 7.938 kB / 376.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.2189, allocations: 2.85 MB / 379.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.2192, allocations: 263 kB / 380 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.2193, allocations: 27.98 kB / 380.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.2196, allocations: 71.92 kB / 380.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2198, allocations: 96.7 kB / 380.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.2198, allocations: 35.98 kB / 380.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007072/0.2205, allocations: 0.7292 MB / 381 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2205, allocations: 4 kB / 381 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001272/0.2218, allocations: 408 kB / 381.4 MB, free: 11.12 MB / 346.7 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.0002813/0.2221, allocations: 191.5 kB / 381.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.2241, allocations: 1.937 MB / 383.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2241, allocations: 4.062 kB / 383.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.2253, allocations: 1.361 MB / 384.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.2262, allocations: 318.4 kB / 385.2 MB, free: 7.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.2309, allocations: 3.832 MB / 389 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.2317, allocations: 1.034 MB / 390.1 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.2319, allocations: 104.4 kB / 390.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2319, allocations: 0 / 390.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Templates: time 0.04938/0.2813, allocations: 67.96 MB / 458.1 MB, free: 14.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.086626402102411]