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.001146/0.001146, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001358/0.001358, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9536/0.9536, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.714e-06/1.714e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.86e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007615/0.007644, allocations: 8.725 MB / 259.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.0124, allocations: 2.841 MB / 262.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009114/0.01332, allocations: 47.69 kB / 262.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.0146, allocations: 0.5898 MB / 263.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.01638, allocations: 0.7722 MB / 264.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.01697, allocations: 335.4 kB / 264.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.01904, allocations: 2.314 MB / 266.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.02014, allocations: 0.9728 MB / 267.7 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.02174, allocations: 1.513 MB / 269.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.02318, allocations: 1.208 MB / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.02359, allocations: 268 kB / 270.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.02405, allocations: 359.8 kB / 271.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.02455, allocations: 0.8063 MB / 271.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.0255, allocations: 0.8497 MB / 272.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.02736, allocations: 1.939 MB / 274.6 MB, free: 132 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02737, allocations: 3.938 kB / 274.7 MB, free: 128 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.02737, allocations: 4 kB / 274.7 MB, free: 124 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.714e-05/0.02744, allocations: 0 / 274.7 MB, free: 124 kB / 250.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.003156/0.03059, allocations: 2.607 MB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.03063, allocations: 11.98 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/0.03125, allocations: 415.4 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.03247, allocations: 1.116 MB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.03254, allocations: 131.9 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.03271, allocations: 192.3 kB / 279.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.03455, allocations: 1.486 MB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.03459, allocations: 3.938 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.0347, allocations: 72 kB / 280.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.579e-05/0.03477, allocations: 91.5 kB / 280.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.03603, allocations: 0.6763 MB / 281.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/0.04203, allocations: 5.879 MB / 287.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.04283, allocations: 0.5508 MB / 287.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.04348, allocations: 470 kB / 288.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.04363, allocations: 52.97 kB / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.04366, allocations: 50.31 kB / 288.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.945e-06/0.04366, allocations: 0 / 288.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.005375/0.04904, allocations: 3.017 MB / 291.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.04908, allocations: 64.41 kB / 291.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009715/0.05005, allocations: 0.988 MB / 292.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.05011, allocations: 41.7 kB / 292.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.05057, allocations: 0.9633 MB / 293.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.05079, allocations: 384.8 kB / 293.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.05102, allocations: 224.5 kB / 294.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.05117, allocations: 0.5316 MB / 294.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.05152, allocations: 202.5 kB / 294.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.05204, allocations: 0.6294 MB / 295.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.05299, allocations: 0.9512 MB / 296.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.053, allocations: 12 kB / 296.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001686/0.05469, allocations: 1.206 MB / 297.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.05471, allocations: 8 kB / 297.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.05472, allocations: 8.25 kB / 297.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.05533, allocations: 274.2 kB / 297.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.05587, allocations: 263.6 kB / 298.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.05949, allocations: 6.563 MB / 304.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.06, allocations: 75.92 kB / 304.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.06006, allocations: 48 kB / 304.8 MB, free: 0.6758 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.0003782/0.06044, allocations: 236.2 kB / 305.1 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.06062, allocations: 171.1 kB / 305.2 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.06199, allocations: 1.024 MB / 306.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.062, allocations: 12 kB / 306.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.06201, allocations: 4 kB / 306.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.06202, allocations: 11.97 kB / 306.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.06534, allocations: 2.785 MB / 309.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.06534, allocations: 8.125 kB / 309.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.06574, allocations: 171.7 kB / 309.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007277/0.06646, allocations: 343.5 kB / 309.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.06653, allocations: 31.98 kB / 309.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.07057, allocations: 8.37 MB / 318 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.07058, allocations: 7.938 kB / 318 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.07249, allocations: 1.573 MB / 319.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.07287, allocations: 247 kB / 319.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.07298, allocations: 27.98 kB / 319.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.07335, allocations: 75.86 kB / 319.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.07354, allocations: 92.77 kB / 320 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.07358, allocations: 39.94 kB / 320 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006208/0.0742, allocations: 0.5964 MB / 320.6 MB, free: 84 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0742, allocations: 0 / 320.6 MB, free: 84 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001008/0.07521, allocations: 400 kB / 321 MB, free: 15.69 MB / 314.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.0002799/0.07549, allocations: 186.9 kB / 321.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.07705, allocations: 1.42 MB / 322.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.07705, allocations: 0.6875 kB / 322.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.07809, allocations: 1.268 MB / 323.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.079, allocations: 339.9 kB / 324.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.08394, allocations: 3.366 MB / 327.6 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.08442, allocations: 499.5 kB / 328.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006107/0.08503, allocations: 230.7 kB / 328.3 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.08526, allocations: 92.48 kB / 328.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.08526, allocations: 0 / 328.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of Templates: time 0.02963/0.1149, allocations: 21.17 MB / 349.6 MB, free: 2.828 MB / 330.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.5327747189439833]