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.002444/0.002444, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.002611/0.002611, allocations: 161.3 kB / 24.27 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 1.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.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.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.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.191e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01338/0.01341, allocations: 8.772 MB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006309/0.01972, allocations: 2.828 MB / 283.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.02074, allocations: 55.62 kB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.0224, allocations: 0.5976 MB / 284.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.02463, allocations: 0.7839 MB / 285.4 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.02543, allocations: 331.4 kB / 285.7 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.02847, allocations: 2.31 MB / 288 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.03005, allocations: 0.993 MB / 289 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1188/0.1488, allocations: 1.534 MB / 290.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.151, allocations: 1.2 MB / 291.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004636/0.1514, allocations: 268.6 kB / 292 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.1523, allocations: 363.8 kB / 292.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.153, allocations: 0.8009 MB / 293.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.1542, allocations: 0.8491 MB / 294 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.1592, allocations: 3.603 MB / 297.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1592, allocations: 4.812 kB / 297.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1592, allocations: 0 / 297.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.1593, allocations: 1.156 kB / 297.6 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.005919/0.1652, allocations: 2.806 MB / 300.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1653, allocations: 9.812 kB / 300.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/0.1662, allocations: 411 kB / 300.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.1684, allocations: 1.227 MB / 302 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.1685, allocations: 135.5 kB / 302.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.1687, allocations: 186 kB / 302.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.172, allocations: 2.256 MB / 304.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.1721, allocations: 3.469 kB / 304.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.1723, allocations: 81.56 kB / 304.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/0.1723, allocations: 102.7 kB / 304.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.1747, allocations: 1.432 MB / 306.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.1853, allocations: 8.275 MB / 314.5 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1864, allocations: 0.6894 MB / 315.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.1875, allocations: 0.5748 MB / 315.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.1876, allocations: 48.97 kB / 315.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1877, allocations: 42.39 kB / 315.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.1877, allocations: 0 / 315.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.008098/0.1958, allocations: 3.545 MB / 319.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1958, allocations: 60.41 kB / 319.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.1973, allocations: 1.309 MB / 320.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1974, allocations: 45.7 kB / 320.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/0.1983, allocations: 1.021 MB / 321.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/0.1987, allocations: 417.6 kB / 322.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/0.1992, allocations: 268.5 kB / 322.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/0.1996, allocations: 0.5746 MB / 323.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.2003, allocations: 318.4 kB / 323.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.2015, allocations: 0.7743 MB / 324.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.2035, allocations: 1.222 MB / 325.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.2035, allocations: 3.938 kB / 325.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003687/0.2072, allocations: 1.448 MB / 326.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.2073, allocations: 14.05 kB / 326.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2073, allocations: 8 kB / 326.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.2084, allocations: 295.6 kB / 327.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.2095, allocations: 265.9 kB / 327.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/0.2172, allocations: 6.827 MB / 334.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.2185, allocations: 79.88 kB / 334.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.2186, allocations: 51.98 kB / 334.4 MB, free: 1.598 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.001115/0.2198, allocations: 0.5131 MB / 334.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.2201, allocations: 159.2 kB / 335 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.2232, allocations: 1.208 MB / 336.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2232, allocations: 8 kB / 336.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2232, allocations: 8 kB / 336.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.2232, allocations: 11.97 kB / 336.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/0.2309, allocations: 3.388 MB / 339.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.2309, allocations: 4 kB / 339.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/0.2317, allocations: 174.6 kB / 339.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.233, allocations: 348.2 kB / 340.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.2331, allocations: 35.97 kB / 340.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009555/0.2427, allocations: 8.607 MB / 348.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.2427, allocations: 4.234 kB / 348.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.2485, allocations: 1.848 MB / 350.7 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.2498, allocations: 239.1 kB / 350.9 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.2502, allocations: 32 kB / 350.9 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.2514, allocations: 67.92 kB / 351 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.2518, allocations: 96.14 kB / 351.1 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.2519, allocations: 37.62 kB / 351.1 MB, free: 264 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002003/0.2539, allocations: 0.7724 MB / 351.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2539, allocations: 0 / 351.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002748/0.2566, allocations: 404 kB / 352.3 MB, free: 15.08 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.0006012/0.2572, allocations: 197.2 kB / 352.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005006/0.2623, allocations: 1.654 MB / 354.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.2623, allocations: 4 kB / 354.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/0.266, allocations: 1.359 MB / 355.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.2693, allocations: 343.3 kB / 355.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.28, allocations: 3.482 MB / 359.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.282, allocations: 0.9873 MB / 360.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001424/0.2834, allocations: 238.7 kB / 360.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.2839, allocations: 88.48 kB / 360.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of SimCode: time 2.205e-06/0.2839, allocations: 0 / 360.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of Templates: time 0.05083/0.3347, allocations: 21.27 MB / 381.9 MB, free: 1.652 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.779631279991008]