Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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_4.0.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.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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.131e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.02342/0.02345, allocations: 8.749 MB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009754/0.0332, allocations: 2.769 MB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.03477, allocations: 55.62 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.03787, allocations: 0.5937 MB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.04221, allocations: 0.7606 MB / 280.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.04366, allocations: 351.3 kB / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.04893, allocations: 2.302 MB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.05159, allocations: 0.9891 MB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.05541, allocations: 1.524 MB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.05911, allocations: 1.204 MB / 286.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.05987, allocations: 272 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.06112, allocations: 347.9 kB / 287.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.06286, allocations: 0.8102 MB / 288 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.06511, allocations: 0.8419 MB / 288.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1393/0.2044, allocations: 3.594 MB / 292.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2044, allocations: 0 / 292.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2044, allocations: 1.438 kB / 292.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.2045, allocations: 0 / 292.5 MB, free: 20.43 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.00621/0.2107, allocations: 2.792 MB / 295.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2108, allocations: 10.11 kB / 295.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.2119, allocations: 414.1 kB / 295.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.2144, allocations: 1.222 MB / 296.9 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2145, allocations: 135.9 kB / 297 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.2148, allocations: 181.8 kB / 297.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.2186, allocations: 2.261 MB / 299.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-05/0.2187, allocations: 9.859 kB / 299.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.2189, allocations: 73.56 kB / 299.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.219, allocations: 91.7 kB / 299.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.2217, allocations: 1.438 MB / 301.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.2334, allocations: 8.266 MB / 309.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.2346, allocations: 0.6912 MB / 310 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.2357, allocations: 0.5774 MB / 310.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.2359, allocations: 44.97 kB / 310.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.236, allocations: 50.39 kB / 310.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.556e-06/0.236, allocations: 2.062 kB / 310.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00893/0.2449, allocations: 3.548 MB / 314.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2449, allocations: 63.78 kB / 314.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.2465, allocations: 1.304 MB / 315.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/0.2466, allocations: 41.7 kB / 315.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.2471, allocations: 1.02 MB / 316.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.2473, allocations: 422.1 kB / 317.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.2477, allocations: 264.5 kB / 317.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2479, allocations: 0.5746 MB / 317.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.2485, allocations: 318.4 kB / 318.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.2492, allocations: 0.774 MB / 319 MB, free: 4.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.2506, allocations: 1.219 MB / 320.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2506, allocations: 4 kB / 320.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002718/0.2534, allocations: 1.446 MB / 321.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.2534, allocations: 12.25 kB / 321.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2534, allocations: 14.34 kB / 321.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2544, allocations: 293.4 kB / 322 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/0.2553, allocations: 266 kB / 322.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00717/0.2625, allocations: 6.819 MB / 329.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.264, allocations: 79.88 kB / 329.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2641, allocations: 48 kB / 329.2 MB, free: 10.26 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.00128/0.2654, allocations: 0.5098 MB / 329.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.2658, allocations: 167.1 kB / 329.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.2689, allocations: 1.205 MB / 331.1 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.2689, allocations: 18.72 kB / 331.1 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2689, allocations: 4 kB / 331.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.2689, allocations: 3.984 kB / 331.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/0.2771, allocations: 3.387 MB / 334.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.2771, allocations: 4 kB / 334.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.2779, allocations: 171.2 kB / 334.7 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.2793, allocations: 360.4 kB / 335 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.393e-05/0.2794, allocations: 35.92 kB / 335 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009172/0.2886, allocations: 8.604 MB / 343.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2886, allocations: 6.344 kB / 343.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/0.293, allocations: 1.84 MB / 345.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/0.2938, allocations: 243 kB / 345.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.294, allocations: 32 kB / 345.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.2947, allocations: 63.92 kB / 345.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.295, allocations: 94.92 kB / 345.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.2951, allocations: 35.98 kB / 346 MB, free: 8.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.2964, allocations: 0.7793 MB / 346.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 0 / 346.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001583/0.298, allocations: 407.9 kB / 347.1 MB, free: 7.742 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.0003819/0.2984, allocations: 192.5 kB / 347.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.3016, allocations: 1.651 MB / 349 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3016, allocations: 7.281 kB / 349 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.304, allocations: 1.359 MB / 350.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.3057, allocations: 330.2 kB / 350.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.3121, allocations: 3.474 MB / 354.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.3134, allocations: 0.9912 MB / 355.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007434/0.3142, allocations: 234.7 kB / 355.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3144, allocations: 84.48 kB / 355.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3144, allocations: 3.188 kB / 355.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.04125/0.3557, allocations: 21.17 MB / 376.6 MB, free: 10.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.595188801060431]