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.0007547/0.0007547, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00115/0.001904, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009834/0.0009834, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.002077, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.028/1.028, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09543/1.123, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.222e-06/1.222e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.581e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01786/0.01787, allocations: 8.742 MB / 254 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02869, allocations: 2.944 MB / 256.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.02945, allocations: 63.56 kB / 257 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.03363, allocations: 0.6132 MB / 257.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.03511, allocations: 0.7644 MB / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.03563, allocations: 335.3 kB / 258.7 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.04058, allocations: 2.334 MB / 261 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.04166, allocations: 1.009 MB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.04668, allocations: 1.829 MB / 263.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.04788, allocations: 1.15 MB / 265 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.04818, allocations: 260 kB / 265.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.05072, allocations: 359.8 kB / 265.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.05125, allocations: 0.6312 MB / 266.2 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.05196, allocations: 0.6824 MB / 266.9 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.05379, allocations: 1.799 MB / 268.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.0538, allocations: 0 / 268.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0538, allocations: 0 / 268.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.05383, allocations: 0 / 268.7 MB, free: 5.918 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.002421/0.05625, allocations: 2.718 MB / 271.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.05629, allocations: 8.625 kB / 271.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.05688, allocations: 413.7 kB / 271.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.05788, allocations: 0.9108 MB / 272.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.05795, allocations: 135.9 kB / 272.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.05811, allocations: 172.4 kB / 273 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.05944, allocations: 1.398 MB / 274.4 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.05947, allocations: 7.953 kB / 274.4 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1099/0.1693, allocations: 76.84 kB / 274.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/0.1694, allocations: 91.39 kB / 274.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009394/0.1704, allocations: 0.522 MB / 275.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.175, allocations: 4.613 MB / 279.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.1756, allocations: 0.5381 MB / 280.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.1761, allocations: 399 kB / 280.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1762, allocations: 44.33 kB / 280.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1762, allocations: 44.09 kB / 280.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.464e-06/0.1762, allocations: 1.219 kB / 280.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00422/0.1805, allocations: 2.55 MB / 283.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.1805, allocations: 64.89 kB / 283.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.1811, allocations: 0.8135 MB / 284.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1811, allocations: 42.7 kB / 284.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1814, allocations: 0.7557 MB / 285 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1816, allocations: 375.6 kB / 285.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.1818, allocations: 209.7 kB / 285.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.1818, allocations: 360 kB / 285.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1821, allocations: 142.1 kB / 286.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.1824, allocations: 448.6 kB / 286.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.183, allocations: 0.7539 MB / 287.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.183, allocations: 2.844 kB / 287.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001021/0.184, allocations: 0.8918 MB / 288.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.184, allocations: 16.78 kB / 288.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1841, allocations: 9.75 kB / 288.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.1845, allocations: 258.9 kB / 288.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.185, allocations: 266.7 kB / 288.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.1869, allocations: 4.679 MB / 293.4 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.1872, allocations: 47.75 kB / 293.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.1873, allocations: 43.19 kB / 293.4 MB, free: 6.125 MB / 266.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.000234/0.1875, allocations: 188.4 kB / 293.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1877, allocations: 114.3 kB / 293.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008561/0.1885, allocations: 0.8019 MB / 294.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1885, allocations: 10.19 kB / 294.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1885, allocations: 3.781 kB / 294.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1885, allocations: 6.422 kB / 294.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.1907, allocations: 2.229 MB / 296.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1907, allocations: 3.938 kB / 296.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.191, allocations: 177.5 kB / 297 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.1912, allocations: 172.2 kB / 297.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/0.1918, allocations: 336.9 kB / 297.5 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.1918, allocations: 33.75 kB / 297.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.194, allocations: 5.885 MB / 303.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.194, allocations: 4 kB / 303.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.1952, allocations: 1.217 MB / 304.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.1953, allocations: 31.98 kB / 304.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1956, allocations: 39.92 kB / 304.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1957, allocations: 98.44 kB / 304.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.1957, allocations: 23.98 kB / 304.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.196, allocations: 413.1 kB / 305.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 0 / 305.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.1968, allocations: 403.9 kB / 305.6 MB, free: 13.2 MB / 282.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.0002334/0.197, allocations: 165.2 kB / 305.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.198, allocations: 1.083 MB / 306.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.14e-05/0.1981, allocations: 28.23 kB / 306.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.199, allocations: 1.103 MB / 308 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.2006, allocations: 3.133 MB / 311.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.2123, allocations: 3.191 MB / 314.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.2127, allocations: 443.5 kB / 314.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000404/0.2131, allocations: 158.9 kB / 314.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.2136, allocations: 341.1 kB / 315.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2136, allocations: 2.297 kB / 315.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of Templates: time 0.02576/0.2394, allocations: 22.71 MB / 337.9 MB, free: 12.6 MB / 314.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.264990543946624]