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.001024/0.001024, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009357/0.0009357, allocations: 168.6 kB / 25.61 MB, free: 8.902 MB / 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.8915/0.8915, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.332e-06/1.332e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.211e-05, allocations: 5.547 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006726/0.006738, allocations: 8.611 MB / 282.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.009651, allocations: 2.822 MB / 285.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.01005, allocations: 59.62 kB / 285.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.01125, allocations: 0.6015 MB / 286.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.01246, allocations: 0.776 MB / 287.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.01283, allocations: 331.5 kB / 287.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.01421, allocations: 2.31 MB / 289.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/0.01505, allocations: 0.9891 MB / 290.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01637, allocations: 1.692 MB / 292.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.01766, allocations: 1.154 MB / 293.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.0179, allocations: 260 kB / 293.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.01828, allocations: 351.8 kB / 294.1 MB, free: 356 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.01903, allocations: 0.7712 MB / 294.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.01962, allocations: 0.8224 MB / 295.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.02104, allocations: 1.919 MB / 297.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.02105, allocations: 4 kB / 297.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.02105, allocations: 0 / 297.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.02106, allocations: 0 / 297.7 MB, free: 12.82 MB / 282.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.002388/0.02345, allocations: 2.502 MB / 300.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.02348, allocations: 12.03 kB / 300.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/0.024, allocations: 415.4 kB / 300.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.02518, allocations: 1.155 MB / 301.7 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.02525, allocations: 135.9 kB / 301.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.02542, allocations: 192.2 kB / 302.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.02678, allocations: 1.364 MB / 303.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.02681, allocations: 7.922 kB / 303.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.02692, allocations: 75.98 kB / 303.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/0.02699, allocations: 91.5 kB / 303.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.02772, allocations: 0.5257 MB / 304.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/0.03321, allocations: 5.722 MB / 309.8 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.03386, allocations: 0.5249 MB / 310.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.03439, allocations: 425.3 kB / 310.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.0345, allocations: 44.92 kB / 310.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.03452, allocations: 42.39 kB / 310.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 1.933e-06/0.03453, allocations: 4 kB / 310.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.003864/0.03839, allocations: 2.518 MB / 313.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.03842, allocations: 68.34 kB / 313.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.03911, allocations: 0.9528 MB / 314.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.03916, allocations: 41.7 kB / 314.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.03961, allocations: 0.9748 MB / 315.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.03981, allocations: 388.7 kB / 315.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.04017, allocations: 228.4 kB / 316 MB, free: 9.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.0403, allocations: 0.5393 MB / 316.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.04051, allocations: 154.5 kB / 316.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.0409, allocations: 0.5791 MB / 317.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.04159, allocations: 0.846 MB / 318.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.0416, allocations: 0 / 318.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001371/0.04297, allocations: 1.093 MB / 319.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.04299, allocations: 12 kB / 319.2 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.043, allocations: 8 kB / 319.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.04353, allocations: 262.4 kB / 319.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.04401, allocations: 235.6 kB / 319.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.04753, allocations: 6.39 MB / 326.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.04788, allocations: 39.98 kB / 326.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.04794, allocations: 36 kB / 326.2 MB, free: 15.05 MB / 314.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.0002948/0.04823, allocations: 240.1 kB / 326.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.04841, allocations: 171.1 kB / 326.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.04956, allocations: 0.9305 MB / 327.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.04957, allocations: 8 kB / 327.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.04957, allocations: 4 kB / 327.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.04958, allocations: 7.984 kB / 327.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.05269, allocations: 2.629 MB / 330.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.05269, allocations: 4.062 kB / 330.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.05304, allocations: 151.8 kB / 330.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.05363, allocations: 316.8 kB / 330.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.05368, allocations: 31.98 kB / 330.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.05757, allocations: 8.116 MB / 338.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.05758, allocations: 7.938 kB / 338.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.05903, allocations: 1.396 MB / 340.2 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.05932, allocations: 219 kB / 340.4 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.05941, allocations: 35.92 kB / 340.4 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.05972, allocations: 39.98 kB / 340.5 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.05985, allocations: 96.7 kB / 340.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.05989, allocations: 39.92 kB / 340.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000371/0.06026, allocations: 0.5417 MB / 341.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06026, allocations: 4 kB / 341.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008624/0.06113, allocations: 395.9 kB / 341.5 MB, free: 14.95 MB / 330.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%), (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.0002632/0.06139, allocations: 194.1 kB / 341.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.06252, allocations: 1.297 MB / 343 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.06252, allocations: 192 / 343 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.06334, allocations: 1.163 MB / 344.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.06446, allocations: 326 kB / 344.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.06789, allocations: 3.311 MB / 347.8 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.06826, allocations: 491.5 kB / 348.3 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.06862, allocations: 158.8 kB / 348.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.06912, allocations: 390 kB / 348.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.06912, allocations: 0 / 348.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of Templates: time 0.1267/0.1958, allocations: 22.42 MB / 371.3 MB, free: 74.19 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.26142599619925]