Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001361/0.001361, allocations: 83.58 kB / 21.19 MB, free: 3.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.001448/0.001448, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9761/0.9761, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.712e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008444/0.008471, allocations: 8.851 MB / 281.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.01206, allocations: 2.839 MB / 284.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.0125, allocations: 59.62 kB / 284.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.01344, allocations: 0.5976 MB / 285.3 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.0145, allocations: 0.7801 MB / 286.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.01486, allocations: 331.4 kB / 286.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.0165, allocations: 2.314 MB / 288.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.01743, allocations: 0.9891 MB / 289.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1501/0.1676, allocations: 1.532 MB / 291.3 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.1696, allocations: 1.208 MB / 292.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.1702, allocations: 269.2 kB / 292.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.1709, allocations: 360.6 kB / 293.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.1715, allocations: 0.8018 MB / 293.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.1727, allocations: 0.8427 MB / 294.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.175, allocations: 1.957 MB / 296.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.175, allocations: 2.125 kB / 296.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.175, allocations: 3.375 kB / 296.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.043e-05/0.1751, allocations: 2.016 kB / 296.7 MB, free: 16.02 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.003848/0.1789, allocations: 2.621 MB / 299.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.179, allocations: 10.73 kB / 299.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.1797, allocations: 410.6 kB / 299.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.1813, allocations: 1.215 MB / 301 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.95e-05/0.1814, allocations: 133.4 kB / 301.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.1816, allocations: 188.4 kB / 301.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.1837, allocations: 1.483 MB / 302.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.1837, allocations: 2.75 kB / 302.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1839, allocations: 78.44 kB / 302.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.184, allocations: 93.38 kB / 302.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1853, allocations: 0.672 MB / 303.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.1908, allocations: 5.896 MB / 309.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.1916, allocations: 0.5502 MB / 310 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.1922, allocations: 468.9 kB / 310.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.1924, allocations: 53.62 kB / 310.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1924, allocations: 43.17 kB / 310.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.1924, allocations: 0 / 310.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.005122/0.1975, allocations: 3.137 MB / 313.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1975, allocations: 64.41 kB / 313.8 MB, free: 7.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/0.1984, allocations: 0.9886 MB / 314.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.1985, allocations: 41.7 kB / 314.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.1988, allocations: 0.9669 MB / 315.8 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.199, allocations: 390.9 kB / 316.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.1993, allocations: 224.5 kB / 316.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.1994, allocations: 0.5277 MB / 316.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.1997, allocations: 206.3 kB / 317.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.2001, allocations: 0.6259 MB / 317.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008088/0.2009, allocations: 0.9256 MB / 318.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2009, allocations: 7.938 kB / 318.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001518/0.2024, allocations: 1.208 MB / 319.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2025, allocations: 8 kB / 319.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2025, allocations: 8.875 kB / 319.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.2031, allocations: 273.5 kB / 320.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.2036, allocations: 267.8 kB / 320.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.2076, allocations: 6.57 MB / 327 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.2081, allocations: 79.88 kB / 327.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.2082, allocations: 51.98 kB / 327.1 MB, free: 9.539 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.0005385/0.2087, allocations: 230.4 kB / 327.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.2089, allocations: 163.1 kB / 327.5 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.2104, allocations: 1.041 MB / 328.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.2104, allocations: 12 kB / 328.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2104, allocations: 4 kB / 328.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2105, allocations: 11.97 kB / 328.6 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.214, allocations: 2.761 MB / 331.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.214, allocations: 8.094 kB / 331.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.2144, allocations: 175.2 kB / 331.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007026/0.2151, allocations: 347.6 kB / 331.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.2152, allocations: 31.98 kB / 331.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/0.2195, allocations: 8.374 MB / 340.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2195, allocations: 7.656 kB / 340.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.2216, allocations: 1.543 MB / 341.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.2219, allocations: 247.1 kB / 342.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.222, allocations: 24 kB / 342.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.2224, allocations: 71.92 kB / 342.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.2226, allocations: 99.86 kB / 342.2 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.2226, allocations: 32 kB / 342.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005878/0.2232, allocations: 0.5927 MB / 342.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2232, allocations: 0 / 342.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00121/0.2244, allocations: 407.9 kB / 343.3 MB, free: 8.801 MB / 298.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.0003117/0.2247, allocations: 194.9 kB / 343.5 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.2263, allocations: 1.424 MB / 344.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2263, allocations: 4.125 kB / 344.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2274, allocations: 1.252 MB / 346.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.2283, allocations: 344.3 kB / 346.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.2329, allocations: 3.345 MB / 349.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2333, allocations: 0.4917 MB / 350.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000453/0.2337, allocations: 230.7 kB / 350.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.2339, allocations: 88.48 kB / 350.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2339, allocations: 8 kB / 350.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of Templates: time 0.02574/0.2596, allocations: 21.28 MB / 371.9 MB, free: 12.34 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.7061202810145915]