Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001927/0.001927, allocations: 103.5 kB / 20.97 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 160.8 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.602e-05/3.822e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01392/0.01396, allocations: 8.776 MB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.02105, allocations: 2.828 MB / 283.8 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.02257, allocations: 59.62 kB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.02468, allocations: 0.5938 MB / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.02838, allocations: 0.7878 MB / 285.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.02987, allocations: 323.5 kB / 285.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005435/0.03531, allocations: 2.314 MB / 287.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.03803, allocations: 0.9891 MB / 288.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1438/0.1818, allocations: 1.538 MB / 290.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.1845, allocations: 1.206 MB / 291.6 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007142/0.1852, allocations: 267.8 kB / 291.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1862, allocations: 359.2 kB / 292.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000797/0.187, allocations: 0.7975 MB / 293 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.1883, allocations: 0.8486 MB / 293.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.1929, allocations: 3.607 MB / 297.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1929, allocations: 1.062 kB / 297.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1929, allocations: 3.281 kB / 297.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.193, allocations: 0.625 kB / 297.5 MB, free: 16.34 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.006109/0.1991, allocations: 2.806 MB / 300.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1991, allocations: 13.73 kB / 300.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2002, allocations: 407.9 kB / 300.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.2025, allocations: 1.225 MB / 301.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.2026, allocations: 135.1 kB / 302.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.2028, allocations: 186.4 kB / 302.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.2064, allocations: 2.259 MB / 304.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-05/0.2065, allocations: 9.922 kB / 304.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.2067, allocations: 76.19 kB / 304.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-05/0.2068, allocations: 91.91 kB / 304.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.2092, allocations: 1.433 MB / 306.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2199, allocations: 8.282 MB / 314.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2211, allocations: 0.6891 MB / 315.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2222, allocations: 0.5785 MB / 315.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.2224, allocations: 48.62 kB / 315.7 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2225, allocations: 50.38 kB / 315.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.584e-06/0.2225, allocations: 4 kB / 315.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00858/0.231, allocations: 3.535 MB / 319.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2311, allocations: 64.41 kB / 319.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.2328, allocations: 1.309 MB / 320.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.2329, allocations: 45.7 kB / 320.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009891/0.2339, allocations: 1.021 MB / 321.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.2343, allocations: 420.4 kB / 322.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.2348, allocations: 264.5 kB / 322.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003934/0.2352, allocations: 0.5707 MB / 323 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/0.2361, allocations: 314.4 kB / 323.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.2374, allocations: 0.7848 MB / 324.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.2395, allocations: 1.222 MB / 325.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.2395, allocations: 7.938 kB / 325.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003966/0.2435, allocations: 1.443 MB / 326.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.2435, allocations: 8 kB / 326.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.2435, allocations: 12 kB / 326.8 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.2447, allocations: 298.9 kB / 327 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.2457, allocations: 265.9 kB / 327.3 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/0.2539, allocations: 6.817 MB / 334.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.2552, allocations: 83.86 kB / 334.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.2553, allocations: 48 kB / 334.3 MB, free: 1.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.001215/0.2565, allocations: 0.5056 MB / 334.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.2569, allocations: 163.2 kB / 334.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.2601, allocations: 1.209 MB / 336.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.2601, allocations: 15.98 kB / 336.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.2601, allocations: 6.516 kB / 336.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.2601, allocations: 7.969 kB / 336.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.2681, allocations: 3.388 MB / 339.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.2681, allocations: 0 / 339.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.2689, allocations: 173.4 kB / 339.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.2704, allocations: 360.9 kB / 340.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.2705, allocations: 31.98 kB / 340.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.2807, allocations: 8.607 MB / 348.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.2807, allocations: 4 kB / 348.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.2851, allocations: 1.849 MB / 350.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008833/0.286, allocations: 243.1 kB / 350.8 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.2862, allocations: 28 kB / 350.8 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.2869, allocations: 67.92 kB / 350.9 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.2872, allocations: 99.86 kB / 351 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.2873, allocations: 32 kB / 351 MB, free: 184 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.2887, allocations: 0.7802 MB / 351.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2887, allocations: 0 / 351.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00192/0.2906, allocations: 404 kB / 352.2 MB, free: 15 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (88): * Single equations (assignments): 83 * 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.0004572/0.2911, allocations: 188.6 kB / 352.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.2944, allocations: 1.664 MB / 354 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2944, allocations: 0 / 354 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.297, allocations: 1.365 MB / 355.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.2989, allocations: 336.2 kB / 355.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/0.3053, allocations: 3.473 MB / 359.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.3066, allocations: 0.9873 MB / 360.2 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007787/0.3074, allocations: 234.7 kB / 360.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3077, allocations: 96.48 kB / 360.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3077, allocations: 0 / 360.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of Templates: time 0.04361/0.3513, allocations: 21.26 MB / 381.8 MB, free: 1.594 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 5.641213386086747]