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.0008097/0.0008097, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009093/0.0009093, allocations: 168 kB / 25.33 MB, free: 9.445 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.8583/0.8583, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.373e-06/1.373e-06, allocations: 0 / 251.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.676e-05, allocations: 2.312 kB / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007045/0.007061, allocations: 8.792 MB / 259.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.01154, allocations: 2.836 MB / 262.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006531/0.01219, allocations: 51.62 kB / 262.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.01322, allocations: 0.5979 MB / 263.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.01457, allocations: 0.7683 MB / 264.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.01506, allocations: 335.4 kB / 264.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.01682, allocations: 2.318 MB / 266.7 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.01771, allocations: 0.9689 MB / 267.7 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.0199, allocations: 1.669 MB / 269.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.02104, allocations: 1.157 MB / 270.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.02128, allocations: 260 kB / 270.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.02168, allocations: 347.7 kB / 271.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.02211, allocations: 0.7673 MB / 271.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.02271, allocations: 0.8302 MB / 272.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.02415, allocations: 1.912 MB / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02416, allocations: 0 / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02416, allocations: 0 / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.02418, allocations: 0 / 274.6 MB, free: 11.86 MB / 266.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.002781/0.02696, allocations: 2.552 MB / 277.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.027, allocations: 19.98 kB / 277.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.02753, allocations: 411.4 kB / 277.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.02863, allocations: 1.113 MB / 278.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.0287, allocations: 139.9 kB / 278.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.02888, allocations: 184.3 kB / 279 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.03065, allocations: 1.478 MB / 280.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.03069, allocations: 11.89 kB / 280.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.03079, allocations: 75.98 kB / 280.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/0.03086, allocations: 91.5 kB / 280.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.03198, allocations: 0.6685 MB / 281.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.03753, allocations: 5.793 MB / 287.2 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.0383, allocations: 0.5781 MB / 287.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.03894, allocations: 465.4 kB / 288.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.03907, allocations: 52.89 kB / 288.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.03909, allocations: 46.86 kB / 288.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.0391, allocations: 0 / 288.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.004815/0.04391, allocations: 2.946 MB / 291.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.04394, allocations: 64.41 kB / 291.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.0448, allocations: 0.9725 MB / 292.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.04485, allocations: 41.7 kB / 292.3 MB, free: 9.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.04528, allocations: 0.9671 MB / 293.3 MB, free: 8.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.04547, allocations: 388.7 kB / 293.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.04572, allocations: 232.5 kB / 293.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.04587, allocations: 0.5316 MB / 294.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.04618, allocations: 198.5 kB / 294.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.0467, allocations: 0.6333 MB / 295.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/0.04763, allocations: 0.9357 MB / 296.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.04764, allocations: 3.938 kB / 296.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002021/0.04966, allocations: 1.21 MB / 297.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.04968, allocations: 8 kB / 297.4 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.04969, allocations: 12 kB / 297.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.05031, allocations: 274.4 kB / 297.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.05081, allocations: 251.6 kB / 297.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1119/0.1627, allocations: 6.555 MB / 304.5 MB, free: 46.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.1634, allocations: 64.64 kB / 304.5 MB, free: 46.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.1634, allocations: 52.34 kB / 304.6 MB, free: 46.57 MB / 282.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.0004165/0.1638, allocations: 226.3 kB / 304.8 MB, free: 46.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.164, allocations: 172.5 kB / 305 MB, free: 46.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.1655, allocations: 1.019 MB / 306 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1655, allocations: 10.5 kB / 306 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1655, allocations: 7.781 kB / 306 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1655, allocations: 7.453 kB / 306 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.1687, allocations: 2.754 MB / 308.8 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1687, allocations: 3.938 kB / 308.8 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.169, allocations: 166.5 kB / 309 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006761/0.1697, allocations: 322.4 kB / 309.3 MB, free: 45.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.1698, allocations: 32.09 kB / 309.3 MB, free: 45.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.1726, allocations: 8.306 MB / 317.6 MB, free: 38.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1726, allocations: 4.578 kB / 317.6 MB, free: 38.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1742, allocations: 1.554 MB / 319.2 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.1745, allocations: 237.3 kB / 319.4 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.1746, allocations: 28.3 kB / 319.4 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.1749, allocations: 57.33 kB / 319.5 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.1751, allocations: 105.4 kB / 319.6 MB, free: 37.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.1751, allocations: 38.34 kB / 319.6 MB, free: 37.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005129/0.1756, allocations: 0.5835 MB / 320.2 MB, free: 37.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 3 kB / 320.2 MB, free: 37.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000922/0.1765, allocations: 401.6 kB / 320.6 MB, free: 37.57 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/0.1768, allocations: 187 kB / 320.8 MB, free: 37.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.1781, allocations: 1.409 MB / 322.2 MB, free: 36.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1781, allocations: 0 / 322.2 MB, free: 36.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.1788, allocations: 1.23 MB / 323.4 MB, free: 35.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.1796, allocations: 342.8 kB / 323.8 MB, free: 35.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1828, allocations: 3.358 MB / 327.1 MB, free: 33.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1831, allocations: 0.4952 MB / 327.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.1835, allocations: 235.5 kB / 327.8 MB, free: 33.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.1837, allocations: 83.94 kB / 327.9 MB, free: 33.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1837, allocations: 3.688 kB / 327.9 MB, free: 33.69 MB / 282.7 MB Notification: Performance of Templates: time 0.01981/0.2035, allocations: 21.48 MB / 349.4 MB, free: 13.72 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.336322606075555]